Ignore:
Timestamp:
25 Sep 2018, 08:44:43 (6 years ago)
Author:
Henrik Bettermann
Message:

Remove redundant manage page (and ITranscript interface).

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
4 edited

Legend:

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

    r15163 r15173  
    7272    IStudentPaymentsContainer, IStudentOnlinePayment, IStudentPreviousPayment,
    7373    IStudentBalancePayment, IBedTicket, IStudentsUtils, IStudentRequestPW,
    74     IStudentTranscript
    7574    )
    7675from waeup.kofa.students.catalog import search, StudentQueryResultItem
     
    12581257        # Produce transcript file
    12591258        self.redirect(self.url(self.context) + '/transcript.pdf')
    1260         return
    1261 
    1262 class StudentTranscriptRequestManageFormPage(KofaEditFormPage):
    1263     """ Page to manage transcript data. There is no link button
    1264     for this page. It's an emergency page.
    1265     """
    1266     grok.context(IStudentStudyCourse)
    1267     grok.name('manage_transcript_request')
    1268     grok.require('waeup.processTranscript')
    1269     form_fields = grok.AutoFields(IStudentTranscript)
    1270     label = _('Manage transcript request')
    1271     pnav = 4
    1272 
    1273     @action(_('Save'), style='primary')
    1274     def save(self, **data):
    1275         msave(self, **data)
    12761259        return
    12771260
  • main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py

    r15163 r15173  
    373373        )
    374374
    375 class IStudentTranscript(IKofaObject):
    376     """Representation of student transcript data. Only used for
    377     StudentTranscriptRequestManageFormPage.
    378     """
    379 
    380     transcript_comment = schema.Text(
    381         title = _(u'Comment'),
    382         required = False,
    383         )
    384 
    385     transcript_signees = schema.Text(
    386         title = _(u'Signees'),
    387         required = False,
    388         )
    389 
    390 
    391375class IStudent(IStudentBase,IUGStudentClearance,IPGStudentClearance,
    392376    IStudentPersonal):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/permissions.py

    r15163 r15173  
    105105class SignTranscript(grok.Permission):
    106106    grok.name('waeup.signTranscript')
    107     """The ViewTranscript role is needed to sign transcripts.
     107    """The SignTranscript role is needed to sign transcripts.
    108108    """
    109109
  • main/waeup.kofa/trunk/src/waeup/kofa/students/studycourse.py

    r15163 r15173  
    2525from zope.interface import implementedBy
    2626from waeup.kofa.students.interfaces import (
    27     IStudentStudyCourse, IStudentNavigation, IStudentStudyLevel,
    28     IStudentTranscript)
     27    IStudentStudyCourse, IStudentNavigation, IStudentStudyLevel)
    2928from waeup.kofa.students.studylevel import CourseTicket
    3029from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
Note: See TracChangeset for help on using the changeset viewer.