Changeset 5395 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 9 Aug 2010, 07:35:33 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py
r5392 r5395 562 562 return self.view.url(self.context[self.target_viewname]) 563 563 564 class 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 564 574 class AdminTaskUsers(AdminTask): 565 575 """Entry on administration page that link to user folder. 566 576 """ 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' 571 581 target_viewname = 'users' 572 582 … … 574 584 """Entry on administration page that link to datacenter. 575 585 """ 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' 580 590 target_viewname = 'datacenter' 591
Note: See TracChangeset for help on using the changeset viewer.