Ignore:
Timestamp:
5 Apr 2010, 18:16:56 (15 years ago)
Author:
uli
Message:

Support reimport of AC batches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/reimportbatchpage.pt

    r5131 r5132  
    1 Hello
     1<h3>Reimport Access-Code Batches</h3>
     2<p>
     3  Please select the files to reimport. Please note, that batches with
     4  same name have to be deleted before.
     5</p>
     6<form method="POST">
     7  <table>
     8    <thead>
     9      <tr>
     10        <th>&nbsp;</th>
     11        <th>File</th>
     12      </tr>
     13    </thead>
     14    <tbody>
     15      <tr tal:repeat="filename context/getImportFiles"
     16          tal:attributes="class python: repeat['filename'].odd() and 'even' or 'odd'">
     17        <td>
     18          <input type="checkbox" name="filenames" value="filename"
     19                 tal:attributes="value filename" />
     20        </td>
     21        <td tal:content="filename">file.name</td>
     22      </tr>
     23      <tr tal:condition="python: len(list(context.getImportFiles())) == 0">
     24        <td colspan="5"><b>No import batches available</b></td>
     25      </tr>
     26    </tbody>
     27  </table>
     28
     29  <input type="submit" name="cancel" value="Cancel" />
     30  <input type="submit" name="reimport" value="Reimport" />
     31</form>
Note: See TracChangeset for help on using the changeset viewer.