Ignore:
Timestamp:
5 Jul 2012, 15:28:28 (12 years ago)
Author:
Henrik Bettermann
Message:

Translate boolean values also in edit and manage pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studyleveleditpage.pt

    r8553 r8921  
    2222  </thead>
    2323  <tbody>
    24     <tr tal:repeat="value context/values" class="gradeC">
     24    <tr tal:repeat="value view/translated_values" class="gradeC">
    2525       <td>
    2626        <input type="checkbox" name="val_id"
    2727                  tal:attributes="value value/__name__"
    28         tal:condition="not: value/mandatory" />
     28        tal:condition="not: value/mandatory_bool" />
    2929      </td>
    3030      <td tal:content="value/semester">SEMESTER</td>
     
    3636      <td tal:content="value/fcode">FACULTY</td>
    3737      <td tal:content="value/credits">CREDITS</td>
    38       <td tal:content="value/score">SCORE</td>
     38      <td tal:content="value/score|nothing">SCORE</td>
    3939      <td tal:content="value/carry_over">CO</td>
    4040    </tr>
Note: See TracChangeset for help on using the changeset viewer.