source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/fileupload.pt @ 7912

Last change on this file since 7912 was 7735, checked in by Henrik Bettermann, 13 years ago

Backup internationalization work in progress.

File size: 1.1 KB
Line 
1<tr i18n:domain="waeup.sirp">
2  <td class="fieldname">
3    <span tal:replace="viewlet/label">FILENAME</span>:
4  </td>
5  <td>
6    <span class="widget">
7      <tal:file tal:condition="viewlet/file_exists">
8        <a tal:attributes="href viewlet/download_name"
9           tal:content="viewlet/title"
10           target="image">
11          LINK
12        </a>
13      </tal:file>
14      <br />
15      <input type="file" tal:attributes="name viewlet/input_name"/>
16      <br /><br />
17      <input type="submit" tal:condition="viewlet/file_exists"
18             tal:attributes="id python:('delete_%s' % viewlet.input_name);
19                name python:('delete_%s' % viewlet.input_name);
20                value viewlet/delete_button"
21             class="btn error" />
22      <input type="submit"
23               tal:attributes="id python:('upload_%s' % viewlet.input_name);
24                  name python:('upload_%s' % viewlet.input_name);
25                  value viewlet/upload_button"
26               class="btn primary" />
27      <span i18n:translate="">
28        Max. file size:
29      </span>
30      <span tal:replace="viewlet/max_upload_size">10 KB</span>
31    </span>
32    <br />
33  </td>
34</tr>
Note: See TracBrowser for help on using the repository browser.