[cpif] r358 - in trunk/frontend-web: . skins/default

svn at argo.es svn at argo.es
Mon Sep 10 23:06:43 CEST 2007


Author: alvaro
Date: Mon Sep 10 23:06:42 2007
New Revision: 358

Log:
Cambios cosmeticos


Added:
   trunk/frontend-web/skins/default/body_threadlist_stickies.html
      - copied, changed from r355, /trunk/frontend-web/skins/default/body_threadlist_group.html
Modified:
   trunk/frontend-web/skins.py

Modified: trunk/frontend-web/skins.py
==============================================================================
--- trunk/frontend-web/skins.py	(original)
+++ trunk/frontend-web/skins.py	Mon Sep 10 23:06:42 2007
@@ -33,6 +33,7 @@
     'metatag_unread': 'body_metatags_metatag_unread.html',
     'metatag_mon':    'body_metatags_metatag_mon.html',
     'metatag_unmon':  'body_metatags_metatag_unmon.html',
+    'stickies title':    'body_threadlist_stickies.html',
     'sticky':    'sticky.html',
     'read only':    'read_only.html',
     'thread_unread':  'body_threadlist_thread_unread.html',
@@ -237,7 +238,10 @@
     for list_type in threads:
       t_list = self._dict.pop(list_type,None)
       for date,threads in t_list:
-        self.set_text(available_skins[self._skin]['group_date'] % {'group_date':daydate(date,self._tz)})
+        if list_type == "stickies":
+          self.set_text(available_skins[self._skin]['stickies title'])
+        else:
+            self.set_text(available_skins[self._skin]['group_date'] % {'group_date':daydate(date,self._tz)})
         for thread, title, ts, nr, nr_point, n_msgs, mon, ro in threads:
           format = self._style.pop(0)
           self._style.append(format)

Copied: trunk/frontend-web/skins/default/body_threadlist_stickies.html (from r355, /trunk/frontend-web/skins/default/body_threadlist_group.html)
==============================================================================
--- /trunk/frontend-web/skins/default/body_threadlist_group.html	(original)
+++ trunk/frontend-web/skins/default/body_threadlist_stickies.html	Mon Sep 10 23:06:42 2007
@@ -1 +1 @@
-<h3 class="threadlist">%(group_date)s</h3>
+<h3 class="threadlist">Avisos</h3>



More information about the cpif mailing list