Changeset 7872
- Timestamp:
- 13 Mar 2012, 09:59:33 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_interfaces.py
r7811 r7872 42 42 def test_GenderSource_term_male(self): 43 43 term = self.terms.getTerm('m') 44 assert term.title == ' Male'44 assert term.title == 'male' 45 45 assert term.token == 'm' 46 46 assert term.value == 'm' … … 48 48 def test_GenderSource_term_female(self): 49 49 term = self.terms.getTerm('f') 50 assert term.title == ' Female'50 assert term.title == 'female' 51 51 assert term.token == 'f' 52 52 assert term.value == 'f' -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/widgets.pt
r7737 r7872 10 10 </span> 11 11 <tal:error tal:condition="widget/error"> 12 < span tal:replace="structure widget/error">ERROR</span>12 <div tal:content="structure widget/error">ERROR</div> 13 13 </tal:error> 14 14 <tal:hint tal:condition="widget/hint"> -
main/waeup.kofa/trunk/src/waeup/kofa/students/vocabularies.py
r7819 r7872 133 133 def getTitle(self, value): 134 134 if value == 'm': 135 return _(' Male')135 return _('male') 136 136 if value == 'f': 137 return _(' Female')137 return _('female') 138 138 139 139 class RegNumNotInSource(ValidationError):
Note: See TracChangeset for help on using the changeset viewer.