Changeset 4055 for waeup/branches
- Timestamp:
- 2 Apr 2009, 14:38:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/viewlets.py
r4053 r4055 87 87 """ 88 88 return self.request.principal.id != 'zope.anybody' 89 90 class ExportLink(grok.Viewlet): 91 grok.viewletmanager(LeftSidebar) 92 grok.view(Index) 93 grok.order(99) 94 grok.require('waeup.manageUniversity') 95 96 def render(self): 97 return '<div class="portlet"><a href="export.xml">%s</a></div>' % ( 98 'Export as XML',) 89 99 90 100 class MainArea(grok.ViewletManager):
Note: See TracChangeset for help on using the changeset viewer.