Ignore:
Timestamp:
16 May 2015, 05:14:34 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove trash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py

    r12932 r12954  
    3131    ICertificateCourse, IBreadcrumbContainer, IUniversity, IUsersContainer)
    3232from waeup.kofa.interfaces import (
    33     IKofaUtils, IKofaObject, IKofaXMLExporter,
    34     IKofaXMLImporter, IDataCenter, IUserAccount)
     33    IKofaUtils, IKofaObject,
     34    IDataCenter, IUserAccount)
    3535from waeup.kofa.browser.layout import KofaPage, default_primary_nav_template
    3636from waeup.kofa.utils.helpers import get_user_account
     
    238238            html += u'| <a href="%s" title="%s">%s</a> ' % (url, value[1], key)
    239239        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)
    257240
    258241
Note: See TracChangeset for help on using the changeset viewer.