source: main/waeup.kofa/branches/uli-stud-utils-cleanup/src/waeup/kofa/applicants/browser_templates/applicantcontainerstatistics.pt @ 12593

Last change on this file since 12593 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

File size: 1.0 KB
Line 
1<tal:statistics define="stats context/statistics" i18n:domain="waeup.kofa">
2  <h2 i18n:translate="">Container Statistics</h2>
3  <table class="table">
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',
12          'started','paid','submitted','admitted','not admitted',
13          'created')">
14        <td tal:content="state">STATE</td>
15        <td tal:content="python: stats[0][state] ">NUMBER</td>
16      </tr>
17    </tbody>
18  </table>
19  <table class="table" tal:condition="python: stats[1]">
20    <thead>
21      <tr>
22        <th i18n:translate="" width="40%">Faculty</th>
23        <th i18n:translate="">Number of Submissions</th>
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.