Ignore:
Timestamp:
31 May 2012, 07:31:10 (13 years ago)
Author:
Henrik Bettermann
Message:

Do not fetch statistics for each state. Do it only once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantcontainerstatistics.pt

    r8563 r8570  
    88    </tr>
    99  </thead>
    10   <tbody>
     10  <tbody tal:define="stats context/statistics">
    1111    <tr tal:repeat="state python:('initialized',
    1212        'started','paid','submitted','admitted','not admitted',
    1313        'created')">
    1414      <td tal:content="state">STATE</td>
    15       <td tal:content="python:context.statistics[state] ">NUMBER</td>
     15      <td tal:content="python: stats[state] ">NUMBER</td>
    1616    </tr>
    1717  </tbody>
Note: See TracChangeset for help on using the changeset viewer.