Changeset 10436 for main/waeup.kofa/trunk
- Timestamp:
- 29 Jul 2013, 15:10:02 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r10279 r10436 130 130 value_dict['grade'] = value.grade 131 131 value_dict['weight'] = value.weight 132 semester_dict = getUtility(IKofaUtils).SEMESTER_DICT 133 value_dict['semester'] = semester_dict[value.semester] 132 134 yield value_dict 133 135 … … 1127 1129 def render(self): 1128 1130 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 1129 Sem = translate(_('Sem.'), 'waeup.kofa', target_language=portal_language)1131 Term = translate(_('Term'), 'waeup.kofa', target_language=portal_language) 1130 1132 Code = translate(_('Code'), 'waeup.kofa', target_language=portal_language) 1131 1133 Title = translate(_('Title'), 'waeup.kofa', target_language=portal_language) … … 1139 1141 tableheader = [(Code,'code', 2.5), 1140 1142 (Title,'title', 7), 1141 ( Sem, 'semester', 1.5),1143 (Term, 'semester', 1.5), 1142 1144 (Cred, 'credits', 1.5), 1143 1145 (Score, 'score', 1.5), … … 1287 1289 def render(self): 1288 1290 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 1289 Sem = translate(_('Sem.'), 'waeup.kofa', target_language=portal_language)1291 Term = translate(_('Term'), 'waeup.kofa', target_language=portal_language) 1290 1292 Code = translate(_('Code'), 'waeup.kofa', target_language=portal_language) 1291 1293 Title = translate(_('Title'), 'waeup.kofa', target_language=portal_language) -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studyleveleditpage.pt
r9895 r10436 12 12 <tr> 13 13 <th> </th> 14 <th i18n:translate=""> Sem.</th>14 <th i18n:translate="">Term</th> 15 15 <th i18n:translate="">Code</th> 16 16 <th i18n:translate="">Title</th> … … 29 29 tal:condition="value/removable_by_student" /> 30 30 </td> 31 <td tal:content="value/semester"> SEMESTER</td>31 <td tal:content="value/semester">TERM</td> 32 32 <td> <a tal:attributes="href value/__name__"> 33 33 <span tal:content="value/code">CODE</span> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelmanagepage.pt
r9895 r10436 33 33 <tr> 34 34 <th> </th> 35 <th i18n:translate=""> Sem.</th>35 <th i18n:translate="">Term</th> 36 36 <th i18n:translate="">Code</th> 37 37 <th i18n:translate="">Title</th> … … 51 51 tal:attributes="value value/__name__" /> 52 52 </td> 53 <td tal:content="value/semester"> SEMESTER</td>53 <td tal:content="value/semester">TERM</td> 54 54 <td> <a tal:attributes="href value/__name__"> 55 55 <span tal:content="value/code">CODE</span> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelpage.pt
r9810 r10436 23 23 <thead> 24 24 <tr> 25 <th i18n:translate=""> Sem.</th>25 <th i18n:translate="">Term</th> 26 26 <th i18n:translate="">Code</th> 27 27 <th i18n:translate="">Title</th> … … 38 38 <tbody> 39 39 <tr tal:repeat="value view/translated_values" class="gradeC"> 40 <td tal:content="value/semester"> SEMESTER</td>40 <td tal:content="value/semester">TERM</td> 41 41 <td> <a tal:attributes="href value/__name__"> 42 42 <span tal:content="value/code">CODE</span> -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/transcript.pt
r10266 r10436 34 34 <th i18n:translate="">Level</th> 35 35 <th i18n:translate="">Session</th> 36 <th i18n:translate=""> Semester</th>36 <th i18n:translate="">Term</th> 37 37 <th i18n:translate="">Course</th> 38 38 <th i18n:translate="">Title</th> -
main/waeup.kofa/trunk/src/waeup/kofa/university/vocabularies.py
r8606 r10436 61 61 62 62 class SemesterSource(ContextualDictSourceFactoryBase): 63 """An institution type source delivers semester or term descriptors.63 """An institution type source delivers semester and/or term descriptors. 64 64 """ 65 65 #: name of dict to deliver from kofa utils.
Note: See TracChangeset for help on using the changeset viewer.