Changeset 4439
- Timestamp:
- 27 Jul 2009, 13:38:38 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/viewlets.py
r4411 r4439 226 226 grok.require('waeup.manageUniversity') 227 227 228 class ImportXMLAction(grok.Viewlet): 229 grok.viewletmanager(ActionBar) 230 grok.view(Index) 231 grok.order(99) 232 grok.require('waeup.manageUniversity') 233 234 def update(self): 235 # We cannot simply replace local sites. 236 self.can_import = not ISite.providedBy(self.context) 228 237 229 238 class FormWrapMixin(object):
Note: See TracChangeset for help on using the changeset viewer.