Changeset 10057 for main/waeup.ngrentheme/trunk
- Timestamp:
- 5 Apr 2013, 05:37:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ngrentheme/trunk/waeup/ngrentheme/browser/viewlets.py
r10049 r10057 25 25 class WAeUPFooterViewlet(FooterViewlet): 26 26 index = ViewPageTemplateFile('templates/footer.pt') 27 28 def render(self): 29 footer = getattr(self.portal_state.portal(), 'footer', None) 30 if footer is None: 31 return self.index() 32 footer_text = footer.getText() 33 return u""" 34 <div class="cell width-full position-0"> 35 <div id="portal-footer"> 36 %s 37 </div> 38 </div>""" % footer_text 27 39
Note: See TracChangeset for help on using the changeset viewer.