- Timestamp:
- 16 May 2015, 05:14:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r12932 r12954 31 31 ICertificateCourse, IBreadcrumbContainer, IUniversity, IUsersContainer) 32 32 from waeup.kofa.interfaces import ( 33 IKofaUtils, IKofaObject, IKofaXMLExporter,34 I KofaXMLImporter, IDataCenter, IUserAccount)33 IKofaUtils, IKofaObject, 34 IDataCenter, IUserAccount) 35 35 from waeup.kofa.browser.layout import KofaPage, default_primary_nav_template 36 36 from waeup.kofa.utils.helpers import get_user_account … … 238 238 html += u'| <a href="%s" title="%s">%s</a> ' % (url, value[1], key) 239 239 return html 240 241 # Problem with circular references. Disabled for now...242 # class ExportXMLAction(grok.Viewlet):243 # grok.viewletmanager(ActionBar)244 # #grok.view(Index)245 # grok.order(98)246 # grok.require('waeup.managePortal')247 248 #class ImportXMLAction(grok.Viewlet):249 # grok.viewletmanager(ActionBar)250 # #grok.view(Index)251 # grok.order(99)252 # grok.require('waeup.managePortal')253 #254 # def update(self):255 # # We cannot simply replace local sites.256 # self.can_import = not ISite.providedBy(self.context)257 240 258 241
Note: See TracChangeset for help on using the changeset viewer.