[cpif] r373 - trunk/frontend-web

svn at argo.es svn at argo.es
Fri Sep 21 04:07:40 CEST 2007


Author: jcea
Date: Fri Sep 21 04:07:38 2007
New Revision: 373

Log:
El asunto tenia mas tela de lo que parecia. A ver ahora...

Modified:
   trunk/frontend-web/skins.py

Modified: trunk/frontend-web/skins.py
==============================================================================
--- trunk/frontend-web/skins.py	(original)
+++ trunk/frontend-web/skins.py	Fri Sep 21 04:07:38 2007
@@ -232,11 +232,16 @@
 
   def list_threads(self):
     """Format the thread list"""
-    aux=""  # If there are not threads
     threads = ["stickies", "threads"]
     metatag = self._dict.get("metatag",None)
     tz=self._dict["tz"]
     thread_len=globales.thread_len
+
+    # The monitoring of the metatag:
+    mon = available_skins[self._skin]['metatag_unmon'] if self._dict["monitor"] else available_skins[self._skin]['metatag_mon']
+    mon = mon % { "metatag_num": metatag }
+    self._dict["mon"] = mon
+
     for list_type in threads:
       t_list = self._dict.pop(list_type,None)
       for date,threads in t_list:
@@ -289,11 +294,7 @@
                 "read only": read_only,
                 "sticky": sticky,
                 }
-    # The monitoring of the metatag:
-    mon = available_skins[self._skin]['metatag_unmon'] if self._dict["monitor"] else available_skins[self._skin]['metatag_mon'] 
-    mon = mon % { "metatag_num": metatag }
-    self._dict["mon"] = mon
-    self.set_text(aux)
+          self.set_text(aux)
 
   def _header(self):
     return available_skins[self._skin]['header'] % self._dict



More information about the cpif mailing list