Ignore:
Timestamp:
7 Aug 2013, 13:32:47 (11 years ago)
Author:
Henrik Bettermann
Message:

Add (hidden) manage page for transcript request comments.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/layout.py

    r10458 r10470  
    225225            self.widgets['next_kin_address'].height = 6
    226226        if self.widgets.get('transcript_comment'):
    227             self.widgets['transcript_comment'].cssClass = 'span8'
    228             self.widgets['transcript_comment'].height = 6
     227            self.widgets['transcript_comment'].cssClass = 'span12'
     228            self.widgets['transcript_comment'].height = 12
    229229        if self.widgets.get('notice'):
    230230            self.widgets['notice'].cssClass = 'span8'
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r10466 r10470  
    11971197        return
    11981198
     1199class StudentTranscriptRequestManageFormPage(KofaEditFormPage):
     1200    """ Page to edit personal data by student
     1201    """
     1202    grok.context(IStudent)
     1203    grok.name('manage_transcript_request')
     1204    grok.require('waeup.manageStudent')
     1205    form_fields = grok.AutoFields(IStudentTranscript)
     1206    label = _('Manage transcript request')
     1207    pnav = 4
     1208
     1209    @action(_('Save'), style='primary')
     1210    def save(self, **data):
     1211        msave(self, **data)
     1212        return
     1213
    11991214class StudyCourseTranscriptPage(KofaDisplayFormPage):
    12001215    """ Page to display the student's transcript.
Note: See TracChangeset for help on using the changeset viewer.