Changeset 7872 for main/waeup.kofa/trunk


Ignore:
Timestamp:
13 Mar 2012, 09:59:33 (13 years ago)
Author:
Henrik Bettermann
Message:

'male' and 'female' in lowercase letters.

widgets.pt: Show error message in next line.

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  
    4242    def test_GenderSource_term_male(self):
    4343        term = self.terms.getTerm('m')
    44         assert term.title == 'Male'
     44        assert term.title == 'male'
    4545        assert term.token == 'm'
    4646        assert term.value == 'm'
     
    4848    def test_GenderSource_term_female(self):
    4949        term = self.terms.getTerm('f')
    50         assert term.title == 'Female'
     50        assert term.title == 'female'
    5151        assert term.token == 'f'
    5252        assert term.value == 'f'
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/widgets.pt

    r7737 r7872  
    1010      </span>
    1111      <tal:error tal:condition="widget/error">
    12         <span tal:replace="structure widget/error">ERROR</span>
     12        <div tal:content="structure widget/error">ERROR</div>
    1313      </tal:error>
    1414      <tal:hint tal:condition="widget/hint">
  • main/waeup.kofa/trunk/src/waeup/kofa/students/vocabularies.py

    r7819 r7872  
    133133    def getTitle(self, value):
    134134        if value == 'm':
    135             return _('Male')
     135            return _('male')
    136136        if value == 'f':
    137             return _('Female')
     137            return _('female')
    138138
    139139class RegNumNotInSource(ValidationError):
Note: See TracChangeset for help on using the changeset viewer.