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

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

Finalize internationalization of py and pt files. Javascript is still missing.

File size: 968 bytes
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      <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="">
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.