Ignore:
Timestamp:
9 Aug 2010, 07:35:33 (14 years ago)
Author:
Henrik Bettermann
Message:

Add admin task 'Portal Settings'.

File:
1 edited

Legend:

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

    r5392 r5395  
    562562        return self.view.url(self.context[self.target_viewname])
    563563
     564class AdminTaskPortalSettings(AdminTask):
     565    """Entry on administration page that link to portal settings.
     566    """
     567    grok.order(1)
     568    grok.require('waeup.manageUniversity')
     569
     570    link_title = 'Portal Settings'
     571    def link_target(self):
     572        return self.view.url(self.view.context, '@@manage')
     573
    564574class AdminTaskUsers(AdminTask):
    565575    """Entry on administration page that link to user folder.
    566576    """
    567     grok.order(1)
    568     grok.require('waeup.manageUniversity')
    569 
    570     link_title = 'Manage users'
     577    grok.order(2)
     578    grok.require('waeup.manageUniversity')
     579
     580    link_title = 'Manage Users'
    571581    target_viewname = 'users'
    572582   
     
    574584    """Entry on administration page that link to datacenter.
    575585    """
    576     grok.order(2)
    577     grok.require('waeup.manageUniversity')
    578 
    579     link_title = 'Data center'
     586    grok.order(3)
     587    grok.require('waeup.manageUniversity')
     588
     589    link_title = 'Data Center'
    580590    target_viewname = 'datacenter'
     591   
Note: See TracChangeset for help on using the changeset viewer.