Changeset 8106 for main/waeup.kofa/trunk
- Timestamp:
- 11 Apr 2012, 11:07:58 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/layout.py
r7819 r8106 53 53 default_primary_nav_template.__grok_name__ = 'default_primary_nav' 54 54 55 default_filedisplay_template = PageTemplateFile( 56 os.path.join('templates', 'filedisplay.pt')) 57 default_filedisplay_template.__grok_name__ = 'default_filedisplay' 58 59 default_fileupload_template = PageTemplateFile( 60 os.path.join('templates', 'fileupload.pt')) 61 default_fileupload_template.__grok_name__ = 'default_fileupload' 62 55 63 class action(grok.action): 56 64 -
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r8078 r8106 28 28 from waeup.kofa.browser.viewlets import ( 29 29 PrimaryNavTab, ManageActionButton, AddActionButton) 30 from waeup.kofa.browser.layout import default_primary_nav_template 30 from waeup.kofa.browser.layout import ( 31 default_primary_nav_template, 32 default_filedisplay_template, default_fileupload_template) 31 33 from waeup.kofa.students.workflow import (ADMITTED, PAID, 32 34 CLEARANCE, REQUESTED, RETURNING, CLEARED, REGISTERED, VALIDATED) … … 605 607 grok.viewletmanager(FileManager) 606 608 grok.view(StudentClearanceDisplayFormPage) 607 grok.template('filedisplay')609 template = default_filedisplay_template 608 610 grok.order(1) 609 611 grok.require('waeup.viewStudent') … … 628 630 grok.viewletmanager(FileManager) 629 631 grok.view(StudentClearanceManageFormPage) 630 grok.template('fileupload')632 template = default_fileupload_template 631 633 grok.require('waeup.uploadStudentFile') 632 634 tab_redirect = '?tab2'
Note: See TracChangeset for help on using the changeset viewer.