Ignore:
Timestamp:
24 Feb 2017, 06:05:20 (8 years ago)
Author:
Henrik Bettermann
Message:

Update IStudentsUtils.

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

Legend:

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

    r14574 r14583  
    143143        """
    144144
     145    def renderPDFTranscript(view, filename, student,
     146                  studentview, note, signatures, sigs_in_footer,
     147                  show_scans, topMargin, omit_fields,
     148                  tableheader, no_passport):
     149        """Render pdf slip of a transcripts.
     150        """
     151
     152    def renderPDFCourseticketsOverview(view, session, data, lecturers):
     153        """Render pdf slip of course tickets for a lecturer.
     154        """
     155
     156    def maxCreditsExceeded(studylevel, course=None):
     157        """Return True if maximum credits is exceeded.
     158        """
     159
     160    def getBedCoordinates(bedticket):
     161        """Return descriptive bed coordinates.
     162        This method can be used to customize the `display_coordinates`
     163        property method in order to  display a
     164        customary description of the bed space.
     165        """
     166
     167    def clearance_disabled_message(student):
     168        """Render message if clearance is disabled.
     169        """
     170
    145171class IStudentsContainer(IKofaObject):
    146172    """A students container contains university students.
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r14582 r14583  
    861861                  tableheader=None,
    862862                  no_passport=False):
    863         """Render pdf slips for transcripts.
     863        """Render pdf slip of a transcripts.
    864864        """
    865865        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
     
    969969    def renderPDFCourseticketsOverview(
    970970            self, view, session, data, lecturers):
     971        """Render pdf slip of course tickets for a lecturer.
     972        """
    971973        filename = 'coursetickets_%s_%s_%s.pdf' % (
    972974            view.context.code, session, view.request.principal.id)
     
    10261028
    10271029    def clearance_disabled_message(self, student):
     1030        """Render message if clearance is disabled.
     1031        """
    10281032        try:
    10291033            session_config = grok.getSite()[
Note: See TracChangeset for help on using the changeset viewer.