Changeset 14655


Ignore:
Timestamp:
24 Mar 2017, 09:21:04 (8 years ago)
Author:
Henrik Bettermann
Message:

Update IStudentsUtils and docs.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/docs/source/userdocs/customization.rst

    r13167 r14655  
    190190   :noindex:
    191191
     192.. automethod:: waeup.kofa.students.utils.StudentsUtils.getPDFCreator
     193   :noindex:
     194
     195.. automethod:: waeup.kofa.students.utils.StudentsUtils.renderPDF
     196   :noindex:
     197
    192198.. automethod:: waeup.kofa.students.utils.StudentsUtils.renderPDFAdmissionLetter
    193199   :noindex:
    194200
    195 .. automethod:: waeup.kofa.students.utils.StudentsUtils.getPDFCreator
    196    :noindex:
    197 
    198 .. automethod:: waeup.kofa.students.utils.StudentsUtils.renderPDF
     201.. automethod:: waeup.kofa.students.utils.StudentsUtils.renderPDFCourseticketsOverview
    199202   :noindex:
    200203
     
    202205   :noindex:
    203206
    204 .. automethod:: waeup.kofa.students.utils.StudentsUtils.maxCredits
     207.. automethod:: waeup.kofa.students.utils.StudentsUtils.getDegreeClassNumber
     208   :noindex:
     209
     210.. automethod:: waeup.kofa.students.utils.StudentsUtils.warnCreditsOOR
    205211   :noindex:
    206212
    207213.. automethod:: waeup.kofa.students.utils.StudentsUtils.getBedCoordinates
     214   :noindex:
     215
     216.. automethod:: waeup.kofa.students.utils.StudentsUtils.clearance_disabled_message
    208217   :noindex:
    209218
  • main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py

    r14642 r14655  
    131131        """
    132132
    133     def getPDFCreator(context):
    134         """Get some IPDFCreator instance suitable for use with `context`.
    135         """
    136 
    137     def renderPDF(view, subject='', filename='slip.pdf',):
    138         """Render pdf slips for various pages.
    139         """
    140 
    141133    def getDegreeClassNumber(level_obj):
    142134        """Get degree class number (used for SessionResultsPresentation
    143135        reports).
     136        """
     137
     138    def getPDFCreator(context):
     139        """Get some IPDFCreator instance suitable for use with `context`.
     140        """
     141
     142    def renderPDF(view, subject='', filename='slip.pdf',):
     143        """Render pdf slips for various pages.
     144        """
     145
     146    def renderPDFAdmissionLetter(view, student=None, omit_fields=(),
     147                                 pre_text=None, post_text=None,):
     148        """Render pdf admission letter.
    144149        """
    145150
Note: See TracChangeset for help on using the changeset viewer.