source: main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantcontainerstatistics.pt

Last change on this file was 16995, checked in by Henrik Bettermann, 2 years ago

Translate states.

File size: 1.1 KB
RevLine 
[8591]1<tal:statistics define="stats context/statistics" i18n:domain="waeup.kofa">
2  <h2 i18n:translate="">Container Statistics</h2>
[11254]3  <table class="table">
[8591]4    <thead>
5      <tr>
6        <th i18n:translate="" width="40%">Application State</th>
7        <th i18n:translate="">Number of Applicants</th>
8      </tr>
9    </thead>
10    <tbody>
11      <tr tal:repeat="state python:('initialized',
[14291]12          'started','paid','submitted','processed','admitted','not admitted',
[8591]13          'created')">
[16995]14        <td i18n:translate="" tal:content="state">STATE</td>
[8591]15        <td tal:content="python: stats[0][state] ">NUMBER</td>
16      </tr>
17    </tbody>
18  </table>
[11254]19  <table class="table" tal:condition="python: stats[1]">
[8591]20    <thead>
21      <tr>
22        <th i18n:translate="" width="40%">Faculty</th>
[8601]23        <th i18n:translate="">Number of Submissions</th>
[8591]24      </tr>
25    </thead>
26    <tbody>
27      <tr tal:repeat="fac python:stats[1].keys()">
28        <td tal:content="fac">FAC</td>
29        <td tal:content="python: stats[1][fac] ">NUMBER</td>
30      </tr>
31    </tbody>
32  </table>
33</tal:statistics>
Note: See TracBrowser for help on using the repository browser.