Ignore:
Timestamp:
20 Nov 2012, 06:17:36 (12 years ago)
Author:
Henrik Bettermann
Message:

Use new attrs_to_fields function to display gpa and total_credits on level pages.

File:
1 edited

Legend:

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

    r9687 r9690  
    1515      </tr>
    1616    </tal:block>
    17     <tr>
    18       <td i18n:translate="">
    19         Total Credits:
    20       </td>
    21       <td>
    22         <span tal:replace="view/context/total_credits">26</span>
    23       </td>
    24     </tr>
    25     <tr>
    26       <td i18n:translate="">
    27         Momentary GPA:
    28       </td>
    29       <td>
    30         <span tal:replace="python: '%4.2f' % view.context.gpa">2.33</span>
    31       </td>
    32     </tr>
    3317  </tbody>
    3418</table>
Note: See TracChangeset for help on using the changeset viewer.