Ignore:
Timestamp:
28 Nov 2013, 14:09:10 (11 years ago)
Author:
Henrik Bettermann
Message:

We need to customize some buttons for the EDP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r10771 r10802  
    8282        text = translate(self.text, 'waeup.kofa',
    8383            target_language=lang)
     84        if not self.link:
     85            return ''
    8486        return u'<li><a href="%s">%s</a></li>' % (
    8587                url, text)
     
    106108class StudentManageClearanceLink(StudentManageLink):
    107109    grok.order(3)
     110    grok.name('studentmanageclearancelink')
    108111    link = 'view_clearance'
    109112    text = _(u'Clearance Data')
     
    111114class StudentManagePersonalLink(StudentManageLink):
    112115    grok.order(4)
     116    grok.name('studentmanagepersonallink')
    113117    link = 'view_personal'
    114118    text = _(u'Personal Data')
     
    127131class StudentManageAccommodationLink(StudentManageLink):
    128132    grok.order(7)
     133    grok.name('studentmanageapplicationlink')
    129134    grok.require('waeup.handleAccommodation')
    130135    link = 'accommodation'
Note: See TracChangeset for help on using the changeset viewer.