Ignore:
Timestamp:
1 Jul 2015, 21:01:34 (9 years ago)
Author:
Henrik Bettermann
Message:

More docs.

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

Legend:

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

    r13129 r13132  
    912912
    913913    def getBedCoordinates(self, bedticket):
    914         """Return bed coordinates.
     914        """Return descriptive bed coordinates.
    915915        This method can be used to customize the `display_coordinates`
    916         property method.
     916        property method in order to  display a
     917        customary description of the bed space.
    917918        """
    918919        return bedticket.bed_coordinates
     
    928929        return None
    929930
     931    #: A dictionary which maps widget names to headlines. The headline
     932    #: is rendered in forms and on pdf slips above the respective
     933    #: display or input widget. There are no separating headlines
     934    #: in the base package.
    930935    SEPARATORS_DICT = {}
    931936
     937    #: A tuple containing names of file upload viewlets which are not shown
     938    #: on the `StudentClearanceManageFormPage`. Nothing is being skipped
     939    #: in the base package. This attribute makes only sense, if intermediate
     940    #: custom packages are being used, like we do for all Nigerian portals.
    932941    SKIP_UPLOAD_VIEWLETS = ()
    933942
     943    #: A tuple containing the names of registration states in which changing of
     944    #: passport pictures is allowed.
    934945    PORTRAIT_CHANGE_STATES = (ADMITTED,)
    935946
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py

    r13125 r13132  
    8282    """
    8383    grok.implements(IKofaUtils)
    84     # This the only place where we define the portal language
    85     # which is used for the translation of system messages
    86     # (e.g. object histories).
     84
     85    #: This the only place where we define the portal language
     86    #: which is used for the translation of system messages
     87    #: (e.g. object histories) pdf slips.
    8788    PORTAL_LANGUAGE = 'en'
    8889
     
    209210    #: Set positive number for allowed max, negative for required min
    210211    #: avail.
    211     #:
    212212    #: Use integer for bytes value, float for percent
    213213    #: value. `cpu-load`, of course, accepts float values only.
Note: See TracChangeset for help on using the changeset viewer.