source: main/waeup.sirp/branches/ulif-groktoolkit-1.4/src/waeup/sirp/students/browser_templates/imageupload.pt @ 10222

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

Start internationalization of pagetemplates. Clean up and remove unneeded i18n:translate tags first.

File size: 956 bytes
Line 
1<tr>
2  <td class="fieldname">
3    <span tal:replace="viewlet/label">FILENAME</span>:
4  </td>
5  <td>
6    <span class="widget">
7      <img align="middle" height="125px"
8           tal:attributes="src viewlet/download_name" />
9      <input type="submit" tal:condition="viewlet/file_exists"
10       tal:attributes="id python:('delete_%s' % viewlet.input_name);
11          name python:('delete_%s' % viewlet.input_name)"
12       value="Delete" class="btn error" />
13      <br /><br />
14      <input type="file" tal:attributes="name viewlet/input_name"/>
15      <br /><br />
16      <input type="submit"
17               tal:attributes="id python:('upload_%s' % viewlet.input_name);
18                  name python:('upload_%s' % viewlet.input_name)"
19               value="Upload" class="btn primary" />
20      <span i18n:translate="max_file_size">
21        Max. file size:
22      </span>
23      <span tal:replace="viewlet/max_upload_size">10 KB</span>
24    </span>
25  </td>
26</tr>
Note: See TracBrowser for help on using the repository browser.