source: main/waeup.kofa/branches/uli-py3/src/waeup/kofa/applicants/browser_templates/applicantcontainerstatistics.pt @ 17350

Last change on this file since 17350 was 14291, checked in by Henrik Bettermann, 8 years ago

Show number of processed records.

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','processed','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.