Changeset 8078 for main/waeup.kofa/trunk/src
- Timestamp:
- 9 Apr 2012, 12:21:05 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8046 r8078 885 885 @property 886 886 def label(self): 887 return _(' Register for ${a} Application',887 return _('Apply for ${a}', 888 888 mapping = {'a':self.context.title}) 889 889 -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/contactform.pt
r7811 r8078 7 7 tal:content="widget/label">Label 8 8 </div> 9 <br /> 9 10 <div tal:content="structure widget"> 10 11 Textbody -
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r7997 r8078 227 227 target = 'manage' 228 228 229 class CourseRegistrationSlipActionButton(ManageActionButton):230 grok.order(1)231 grok.context(IStudentStudyLevel)232 grok.view(StudyLevelDisplayFormPage)233 grok.require('waeup.viewStudent')234 icon = 'actionicon_pdf.png'235 text = _('Download course registration slip')236 target = 'course_registration.pdf'237 238 229 class StudyLevelManageActionButton(ManageActionButton): 239 grok.order( 2)230 grok.order(1) 240 231 grok.context(IStudentStudyLevel) 241 232 grok.view(StudyLevelDisplayFormPage) … … 276 267 return self.view.url(self.view.context, self.target) 277 268 269 class CourseRegistrationSlipActionButton(ManageActionButton): 270 grok.order(5) 271 grok.context(IStudentStudyLevel) 272 grok.view(StudyLevelDisplayFormPage) 273 grok.require('waeup.viewStudent') 274 icon = 'actionicon_pdf.png' 275 text = _('Download course registration slip') 276 target = 'course_registration.pdf' 277 278 278 class CourseTicketManageActionButton(ManageActionButton): 279 279 grok.order(1) … … 446 446 447 447 class StudyLevelEditActionButton(ManageActionButton): 448 grok.order( 1)448 grok.order(2) 449 449 grok.context(IStudentStudyLevel) 450 450 grok.view(StudyLevelDisplayFormPage)
Note: See TracChangeset for help on using the changeset viewer.