slitaz-forge view bugs/templates/slitaz/html/msg.item.html @ rev 271
pkgs: up fr translation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 13 01:15:04 2012 +0200 (2012-04-13) |
parents | |
children |
line source
1 <!-- dollarId: msg.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title">
4 <tal:block condition="context/id" i18n:translate=""
5 >Message <span tal:replace="context/id" i18n:name="id"
6 /> - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker"
7 /></tal:block>
8 <tal:block condition="not:context/id" i18n:translate=""
9 >New Message - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker"
10 /></tal:block>
11 </title>
12 <tal:block metal:fill-slot="body_title">
13 <span tal:condition="python: not (context.id or context.is_edit_ok())"
14 tal:omit-tag="python:1" i18n:translate="">New Message</span>
15 <span tal:condition="python: not context.id and context.is_edit_ok()"
16 tal:omit-tag="python:1" i18n:translate="">New Message Editing</span>
17 <span tal:condition="python: context.id and not context.is_edit_ok()"
18 tal:omit-tag="python:1" i18n:translate="">Message<tal:x
19 replace="context/id" i18n:name="id" /></span>
20 <span tal:condition="python: context.id and context.is_edit_ok()"
21 tal:omit-tag="python:1" i18n:translate="">Message<tal:x
22 replace="context/id" i18n:name="id" /> Editing</span>
23 </tal:block>
24 <td class="content" metal:fill-slot="content">
26 <p tal:condition="python:not (context.is_view_ok()
27 or request.user.hasRole('Anonymous'))" i18n:translate="">
28 You are not allowed to view this page.</p>
30 <p tal:condition="python:not context.is_view_ok()
31 and request.user.hasRole('Anonymous')" i18n:translate="">
32 Please login with your username and password.</p>
34 <div tal:condition="context/is_view_ok">
35 <table class="form">
37 <tr>
38 <th i18n:translate="">Author</th>
39 <td tal:content="context/author"></td>
40 </tr>
42 <tr>
43 <th i18n:translate="">Recipients</th>
44 <td tal:content="context/recipients"></td>
45 </tr>
47 <tr>
48 <th i18n:translate="">Date</th>
49 <td tal:content="context/date"></td>
50 </tr>
51 </table>
53 <table class="messages">
54 <tr><th colspan=2 class="header" i18n:translate="">Content</th></tr>
55 <tr>
56 <td class="content" colspan=2><pre tal:content="structure context/content/hyperlinked"></pre></td>
57 </tr>
58 </table>
60 <table class="files" tal:condition="context/files">
61 <tr><th colspan="2" class="header" i18n:translate="">Files</th></tr>
62 <tr>
63 <th i18n:translate="">File name</th>
64 <th i18n:translate="">Uploaded</th>
65 </tr>
66 <tr tal:repeat="file context/files">
67 <td>
68 <a tal:attributes="href string:file${file/id}/${file/name}"
69 tal:content="file/name">dld link</a>
70 </td>
71 <td>
72 <span tal:content="file/creator">creator's name</span>,
73 <span tal:content="file/creation">creation date</span>
74 </td>
75 </tr>
76 </table>
78 <tal:block tal:replace="structure context/history" />
80 </div>
81 </td>
83 </tal:block>
84 <!-- SHA: e4a1c71477429a3750a6013098faa17f75d38f5d -->