Changeset 10802 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 28 Nov 2013, 14:09:10 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py
r10655 r10802 205 205 grok.context(IApplicant) 206 206 grok.require('waeup.viewApplication') 207 grok.name('pdfactionbutton') 207 208 icon = 'actionicon_pdf.png' 208 209 text = _('Download application slip') -
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r10771 r10802 82 82 text = translate(self.text, 'waeup.kofa', 83 83 target_language=lang) 84 if not self.link: 85 return '' 84 86 return u'<li><a href="%s">%s</a></li>' % ( 85 87 url, text) … … 106 108 class StudentManageClearanceLink(StudentManageLink): 107 109 grok.order(3) 110 grok.name('studentmanageclearancelink') 108 111 link = 'view_clearance' 109 112 text = _(u'Clearance Data') … … 111 114 class StudentManagePersonalLink(StudentManageLink): 112 115 grok.order(4) 116 grok.name('studentmanagepersonallink') 113 117 link = 'view_personal' 114 118 text = _(u'Personal Data') … … 127 131 class StudentManageAccommodationLink(StudentManageLink): 128 132 grok.order(7) 133 grok.name('studentmanageapplicationlink') 129 134 grok.require('waeup.handleAccommodation') 130 135 link = 'accommodation'
Note: See TracChangeset for help on using the changeset viewer.