Changeset 7136 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 19 Nov 2011, 08:20:47 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
-
Property
svn:keywords
set to
Id
r7113 r7136 95 95 grok.context(IApplicantsRoot) 96 96 grok.view(ApplicantsRootPage) 97 grok.require('waeup.manageApplication s')97 grok.require('waeup.manageApplication') 98 98 text = 'Manage application section' 99 99 … … 105 105 label = 'Manage application section' 106 106 pnav = 3 107 grok.require('waeup.manageApplication s')107 grok.require('waeup.manageApplication') 108 108 taboneactions = ['Add applicants container', 'Remove selected','Cancel'] 109 109 tabtwoactions1 = ['Remove selected local roles'] … … 170 170 class ApplicantsContainerAddFormPage(WAeUPAddFormPage): 171 171 grok.context(IApplicantsRoot) 172 grok.require('waeup.manageApplication s')172 grok.require('waeup.manageApplication') 173 173 grok.name('add') 174 174 grok.template('applicantscontaineraddpage') … … 276 276 grok.context(IApplicantsContainer) 277 277 grok.view(ApplicantsContainerPage) 278 grok.require('waeup.manageApplication s')278 grok.require('waeup.manageApplication') 279 279 text = 'Manage applicants container' 280 280 … … 300 300 form_fields['startdate'].custom_widget = FriendlyDateWidget('le') 301 301 form_fields['enddate'].custom_widget = FriendlyDateWidget('le') 302 grok.require('waeup.manageApplication s')302 grok.require('waeup.manageApplication') 303 303 304 304 @property … … 467 467 """ 468 468 grok.context(IApplicantsContainer) 469 grok.require('waeup.manageApplication s')469 grok.require('waeup.manageApplication') 470 470 grok.name('addapplicant') 471 471 grok.template('applicantaddpage') … … 582 582 class PDFActionButton(ManageActionButton): 583 583 grok.context(IApplicant) 584 grok.require('waeup. manageApplications')584 grok.require('waeup.viewApplication') 585 585 icon = 'actionicon_pdf.png' 586 586 text = 'Download application slip' … … 592 592 grok.context(IApplicant) 593 593 grok.name('application_slip.pdf') 594 grok.require('waeup. handleApplication')594 grok.require('waeup.viewApplication') 595 595 form_fields = grok.AutoFields(IApplicant).omit( 596 596 'locked').omit('course_admitted') … … 693 693 grok.context(IApplicant) 694 694 grok.view(DisplayApplicant) 695 grok.require('waeup.manageApplication s')695 grok.require('waeup.manageApplication') 696 696 text = 'Manage application record' 697 697 target = 'edit_full' … … 721 721 grok.context(IApplicant) 722 722 grok.name('edit_full') 723 grok.require('waeup.manageApplication s')723 grok.require('waeup.manageApplication') 724 724 form_fields = grok.AutoFields(IApplicant) 725 725 form_fields['date_of_birth'].custom_widget = FriendlyDateWidget('le-year') … … 849 849 grok.context(IApplicant) 850 850 grok.view(EditApplicantFull) 851 grok.require('waeup.manageApplication s')851 grok.require('waeup.manageApplication') 852 852 icon = 'actionicon_view.png' 853 853 text = 'View application record' -
Property
svn:keywords
set to
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/permissions.py
-
Property
svn:keywords
set to
Id
r6478 r7136 33 33 grok.name('waeup.viewApplication') 34 34 35 class ManageApplication s(grok.Permission):36 grok.name('waeup.manageApplication s')35 class ManageApplication(grok.Permission): 36 grok.name('waeup.manageApplication') 37 37 38 38 # Local role … … 46 46 grok.name('waeup.ApplicationsOfficer') 47 47 grok.title(u'Applications Officer') 48 grok.permissions('waeup.manageApplication s', 'waeup.viewApplication')48 grok.permissions('waeup.manageApplication', 'waeup.viewApplication') -
Property
svn:keywords
set to
Note: See TracChangeset for help on using the changeset viewer.