Changeset 10805 for main/waeup.kofa/trunk/src
- Timestamp:
- 28 Nov 2013, 16:50:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r10803 r10805 96 96 self.context.student, attr=self.link) 97 97 if slip: 98 lang = self.request.cookies.get('kofa.language') 99 text = translate(self.text, 'waeup.kofa', 100 target_language=lang) 98 101 url = self.view.url(self.context.student,self.link) 99 102 return u'<li><a href="%s">%s</a></li>' % ( 100 url, self.text)103 url, text) 101 104 return '' 102 105 … … 780 783 targets = [] 781 784 if app_slip: 782 targets = [{'url':student_url + '/application_slip', 'title':'Application Slip'},] 785 targets = [{'url':student_url + '/application_slip', 786 'title':_('Application Slip')},] 783 787 targets += [ 784 788 {'url':student_url, 'title':'Base Data'},
Note: See TracChangeset for help on using the changeset viewer.