Changeset 6111
- Timestamp:
- 16 May 2011, 10:09:08 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6110 r6111 36 36 <span class="required" tal:condition="widget/required" 37 37 >*</span><span i18n:translate="" 38 tal:content="widget/label">label</span> 38 tal:content="widget/label">label</span>: 39 39 </label> 40 40 <label tal:condition="python:not hint" … … 42 42 <span class="required" tal:condition="widget/required" 43 43 >*</span><span i18n:translate="" 44 tal:content="widget/label">label</span> 44 tal:content="widget/label">label</span>: 45 45 </label> 46 46 </td> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r6110 r6111 52 52 #: Types of applications we support. 53 53 APPLICATION_TYPES = ( 54 ('Pre-NCE Programme', 'prence'), 55 ('Post UME Screening Test', 'pume'), 56 ('Post UDE Screening', 'pude'), 57 ('Part Time Degree in Education', 'sandwich'), 58 ('Part-Time Degree Programmes', 'pt'), 59 ('Diploma Programmes', 'dp'), 60 ('PCE Screening', 'pce'), 61 ('Certificate Programmes', 'ct'), 62 ('Common Entry Screening Test (CEST)', 'cest'), 54 ('General Studies', 'app','APP'), 55 ('Pre-NCE Programme', 'prence','PRE'), 56 ('Post UME Screening Test', 'pume','PUME'), 57 ('Post UDE Screening', 'pude','PUDE'), 58 ('Part Time Degree in Education', 'sandwich','SAND'), 59 ('Part-Time Degree Programmes', 'pt','PTP'), 60 ('Diploma Programmes', 'dp','DPP'), 61 ('PCE Screening', 'pce','PCE'), 62 ('Certificate Programmes', 'ct','CTP'), 63 ('Common Entry Screening Test', 'cest','CEST'), 63 64 ) 64 65 65 66 #: A :class:`waeup.sirp.interfaces.SimpleWAeUPVocabulary` of supported 66 67 #: application or screening types. 67 application_types_vocab = SimpleWAeUPVocabulary(*APPLICATION_TYPES) 68 application_types_vocab = SimpleWAeUPVocabulary(*[(x[0],x[1]) for x in APPLICATION_TYPES]) 69 application_pins_vocab = SimpleWAeUPVocabulary(*[(u"%s (%s)" % (x[2],x[0]),x[2]) for x in APPLICATION_TYPES]) 68 70 69 71 def yeararrange(): … … 200 202 required = True, 201 203 default = None, 202 values = ['APP','CEST','PUME','PUDE'],204 source = application_pins_vocab, 203 205 ) 204 206
Note: See TracChangeset for help on using the changeset viewer.