Ignore:
Timestamp:
11 Apr 2012, 11:07:58 (13 years ago)
Author:
Henrik Bettermann
Message:

Move file widget templates to the browser package.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 deleted
1 edited

Legend:

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

    r8078 r8106  
    2828from waeup.kofa.browser.viewlets import (
    2929    PrimaryNavTab, ManageActionButton, AddActionButton)
    30 from waeup.kofa.browser.layout import default_primary_nav_template
     30from waeup.kofa.browser.layout import (
     31    default_primary_nav_template,
     32    default_filedisplay_template, default_fileupload_template)
    3133from waeup.kofa.students.workflow import (ADMITTED, PAID,
    3234    CLEARANCE, REQUESTED, RETURNING, CLEARED, REGISTERED, VALIDATED)
     
    605607    grok.viewletmanager(FileManager)
    606608    grok.view(StudentClearanceDisplayFormPage)
    607     grok.template('filedisplay')
     609    template = default_filedisplay_template
    608610    grok.order(1)
    609611    grok.require('waeup.viewStudent')
     
    628630    grok.viewletmanager(FileManager)
    629631    grok.view(StudentClearanceManageFormPage)
    630     grok.template('fileupload')
     632    template = default_fileupload_template
    631633    grok.require('waeup.uploadStudentFile')
    632634    tab_redirect = '?tab2'
Note: See TracChangeset for help on using the changeset viewer.