Changeset 13132 for main/waeup.kofa/trunk/src
- Timestamp:
- 1 Jul 2015, 21:01:34 (10 years ago)
- 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 912 912 913 913 def getBedCoordinates(self, bedticket): 914 """Return bed coordinates.914 """Return descriptive bed coordinates. 915 915 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. 917 918 """ 918 919 return bedticket.bed_coordinates … … 928 929 return None 929 930 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. 930 935 SEPARATORS_DICT = {} 931 936 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. 932 941 SKIP_UPLOAD_VIEWLETS = () 933 942 943 #: A tuple containing the names of registration states in which changing of 944 #: passport pictures is allowed. 934 945 PORTRAIT_CHANGE_STATES = (ADMITTED,) 935 946 -
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r13125 r13132 82 82 """ 83 83 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. 87 88 PORTAL_LANGUAGE = 'en' 88 89 … … 209 210 #: Set positive number for allowed max, negative for required min 210 211 #: avail. 211 #:212 212 #: Use integer for bytes value, float for percent 213 213 #: value. `cpu-load`, of course, accepts float values only.
Note: See TracChangeset for help on using the changeset viewer.