- Timestamp:
- 12 Aug 2024, 13:07:04 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.udss/trunk/src/kofacustom/udss/students/viewlets.py
r17689 r17887 21 21 from waeup.kofa.browser.viewlets import ManageActionButton 22 22 from kofacustom.udss.students.interfaces import ( 23 ICustomStudent, 23 24 ICustomStudentStudyCourse, ICustomStudentStudyLevel) 24 25 from waeup.kofa.students.fileviewlets import ( 25 26 StudentFileDisplay, StudentFileUpload, StudentImage) 26 27 from waeup.kofa.students.browser import ( 28 StudentBaseDisplayFormPage, 27 29 ExportPDFClearanceSlip, StudyCourseDisplayFormPage, 28 30 StudyLevelDisplayFormPage) 29 31 30 32 from kofacustom.nigeria.interfaces import MessageFactory as _ 33 34 class DashboardLinkActionButton(ManageActionButton): 35 grok.order(10) 36 grok.context(ICustomStudent) 37 grok.view(StudentBaseDisplayFormPage) 38 grok.require('waeup.handleStudent') 39 icon = 'actionicon_book.png' 40 text = _('Open dashboard') 41 42 @property 43 def target_url(self): 44 return 'https://udss.kofadata.com/Default.aspx?student_id=%s' % self.context.student_id
Note: See TracChangeset for help on using the changeset viewer.