comparison templates/classic/html/file.item.html @ 3119:c26f2ba69c78

some bits I missed, and the next release will be beta ;)
author Richard Jones <richard@users.sourceforge.net>
date Fri, 28 Jan 2005 04:07:58 +0000
parents 3551fbf8cf29
children a9f6eb633452
comparison
equal deleted inserted replaced
3118:246c04b1485d 3119:c26f2ba69c78
4 <span metal:fill-slot="body_title" tal:omit-tag="python:1" 4 <span metal:fill-slot="body_title" tal:omit-tag="python:1"
5 i18n:translate="">File display</span> 5 i18n:translate="">File display</span>
6 6
7 <td class="content" metal:fill-slot="content"> 7 <td class="content" metal:fill-slot="content">
8 8
9 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())" 9 <p tal:condition="not:context/is_view_ok" i18n:translate="">You are not
10 tal:omit-tag="python:1" i18n:translate="" 10 allowed to view this page.</p>
11 >You are not allowed to view this page.</span>
12 11
13 <form method="POST" onSubmit="return submit_once()" 12 <form method="POST" onSubmit="return submit_once()"
14 enctype="multipart/form-data" tal:condition="context/is_edit_ok" 13 enctype="multipart/form-data" tal:condition="context/is_view_ok"
15 tal:attributes="action context/designator"> 14 tal:attributes="action context/designator">
16 15
17 <table class="form"> 16 <table class="form">
18 <tr> 17 <tr>
19 <th i18n:translate="">Name</th> 18 <th i18n:translate="">Name</th>
40 39
41 <a tal:condition="python:context.id and context.is_view_ok()" 40 <a tal:condition="python:context.id and context.is_view_ok()"
42 tal:attributes="href string:file${context/id}/${context/name}" 41 tal:attributes="href string:file${context/id}/${context/name}"
43 i18n:translate="">download</a> 42 i18n:translate="">download</a>
44 43
45 <table class="form" tal:condition="context/is_only_view_ok"> 44 <tal:block tal:condition="context/id" tal:replace="structure context/history" />
46 <tr>
47 <th i18n:translate="">Name</th>
48 <td tal:content="context/name"></td>
49 </tr>
50 <tr>
51 <th i18n:translate="">Content Type</th>
52 <td tal:content="context/type"></td>
53 </tr>
54 </table>
55 45
56 <tal:block tal:condition="python:context.id and context.is_view_ok()"
57 tal:replace="structure context/history" />
58 </td> 46 </td>
59 47
60 </tal:block> 48 </tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/