web/views/basetemplates.py
branch3.5
changeset 3071 6ad4e6d4df86
parent 3022 238ad682bcb7
parent 3053 51f196c212d9
child 3072 6fb42c53f6df
child 3080 32c2b6a34ab2
--- a/web/views/basetemplates.py	Fri Aug 28 16:28:26 2009 +0200
+++ b/web/views/basetemplates.py	Mon Aug 31 18:59:10 2009 +0200
@@ -353,6 +353,7 @@
 class HTMLPageHeader(View):
     """default html page header"""
     id = 'header'
+    main_cell_components = ('appliname', 'breadcrumbs')
 
     def call(self, view, **kwargs):
         self.main_header(view)
@@ -374,7 +375,7 @@
         self.w(u'</td>\n')
         # appliname and breadcrumbs
         self.w(u'<td id="headtext">')
-        for cid in ('appliname', 'breadcrumbs'):
+        for cid in self.main_cell_components:
             comp = self.vreg['components'].select_vobject(
                 cid, self.req, rset=self.rset)
             if comp: