Changeset 10802 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 28 Nov 2013, 14:09:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.