Ignore:
Timestamp:
20 Nov 2012, 06:36:54 (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.uniben/trunk/src/waeup/uniben/students/browser_templates/studylevelpage.pt

    r9688 r9691  
    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">TOTAL</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.