Revision b5dbf696
Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/email_journal/show.html | ||
---|---|---|
1 |
[% USE HTML %][% USE L %][% USE LxERP %] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE L %] |
|
3 |
[% USE LxERP %] |
|
2 | 4 |
|
3 |
<h1>[% FORM.title %]</h1>
|
|
5 |
<h1>[% FORM.title %]</h1> |
|
4 | 6 |
|
5 |
[%- INCLUDE 'common/flash.html' %]
|
|
7 |
[% INCLUDE 'common/flash.html' %] |
|
6 | 8 |
|
7 |
<table id="email_journal_details" class="email_journal_details"> |
|
8 |
<tbody> |
|
9 |
<tr class="listrow"> |
|
10 |
<th>[%- LxERP.t8("From") %]</th> |
|
11 |
<td>[%- HTML.escape(SELF.entry.from) %]</td> |
|
12 |
</tr> |
|
13 |
|
|
14 |
<tr class="listrow"> |
|
15 |
<th>[%- LxERP.t8("Recipients") %]</th> |
|
16 |
<td>[%- HTML.escape(SELF.entry.recipients) %]</td> |
|
17 |
</tr> |
|
18 |
|
|
19 |
<tr class="listrow"> |
|
20 |
<th>[%- LxERP.t8("Subject") %]</th> |
|
21 |
<td>[%- HTML.escape(SELF.entry.subject) %]</td> |
|
22 |
</tr> |
|
23 |
|
|
24 |
<tr class="listrow"> |
|
25 |
<th>[%- LxERP.t8("Sent on") %]</th> |
|
26 |
<td>[%- HTML.escape(SELF.entry.sent_on.to_lxoffice("precision" => "second")) %]</td> |
|
27 |
</tr> |
|
28 | 9 |
|
29 |
<tr class="listrow"> |
|
30 |
<th>[%- LxERP.t8("Status") %]</th> |
|
31 |
<td> |
|
32 |
[%- IF SELF.entry.status == "ok" %] |
|
33 |
[%- LxERP.t8("succeeded") %] |
|
34 |
[%- ELSE %] |
|
35 |
[%- LxERP.t8("failed") %] |
|
36 |
[%- END %] |
|
37 |
</td> |
|
38 |
</tr> |
|
39 |
|
|
40 |
<tr class="listrow"> |
|
41 |
<th>[%- LxERP.t8("Extended status") %]</th> |
|
42 |
<td><pre>[%- HTML.escape(SELF.entry.extended_status) %]</pre></td> |
|
43 |
</tr> |
|
44 |
|
|
45 |
<tr class="listrow"> |
|
46 |
<th>[%- LxERP.t8("Headers") %]</th> |
|
47 |
<td><pre>[% HTML.escape(SELF.entry.headers) %]</pre></td> |
|
48 |
</tr> |
|
10 |
<table id="email_journal_details" class="tbl-horizontal email_journal_details"> |
|
11 |
<tbody> |
|
12 |
<tr> |
|
13 |
<th>[% LxERP.t8("From") %]</th> |
|
14 |
<td>[% HTML.escape(SELF.entry.from) %]</td> |
|
15 |
</tr> |
|
16 |
<tr> |
|
17 |
<th>[% LxERP.t8("Recipients") %]</th> |
|
18 |
<td>[% HTML.escape(SELF.entry.recipients) %]</td> |
|
19 |
</tr> |
|
20 |
<tr> |
|
21 |
<th>[% LxERP.t8("Subject") %]</th> |
|
22 |
<td>[% HTML.escape(SELF.entry.subject) %]</td> |
|
23 |
</tr> |
|
24 |
<tr> |
|
25 |
<th>[% LxERP.t8("Sent on") %]</th> |
|
26 |
<td>[% HTML.escape(SELF.entry.sent_on.to_lxoffice("precision" => "second")) %]</td> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<th>[% LxERP.t8("Status") %]</th> |
|
30 |
<td> [% IF SELF.entry.status == "ok" %] [% LxERP.t8("succeeded") %] [% ELSE %] [% LxERP.t8("failed") %] [% END %]</td> |
|
31 |
</tr> |
|
32 |
<tr> |
|
33 |
<th>[% LxERP.t8("Extended status") %]</th> |
|
34 |
<td><pre>[% HTML.escape(SELF.entry.extended_status) %]</pre></td> |
|
35 |
</tr> |
|
36 |
<tr> |
|
37 |
<th>[% LxERP.t8("Headers") %]</th> |
|
38 |
<td><pre>[% HTML.escape(SELF.entry.headers) %]</pre></td> |
|
39 |
</tr> |
|
40 |
<tr> |
|
41 |
<th>[% LxERP.t8("Body") %]</th> |
|
42 |
<td><pre>[% HTML.escape(SELF.entry.body) %]</pre></td> |
|
43 |
</tr> |
|
44 |
</tbody> |
|
45 |
</table> |
|
49 | 46 |
|
50 |
<tr class="listrow"> |
|
51 |
<th>[%- LxERP.t8("Body") %]</th> |
|
52 |
<td><pre>[% HTML.escape(SELF.entry.body) %]</pre></td> |
|
53 |
</tr> |
|
54 |
</table> |
|
55 | 47 |
|
56 |
[% SET attachments = SELF.entry.attachments_sorted %] |
|
57 |
[% IF attachments.size %] |
|
58 |
<h2>[% LxERP.t8("Attachments") %]</h2> |
|
48 |
[% SET attachments = SELF.entry.attachments_sorted %] |
|
49 |
[% IF attachments.size %] |
|
59 | 50 |
|
60 |
<table id="email_journal_details" class="email_journal_details"> |
|
61 |
<thead> |
|
51 |
<table id="email_journal_details" class="tbl-list email_journal_details"> |
|
52 |
<caption>[% LxERP.t8("Attachments") %]</caption> |
|
53 |
<thead> |
|
62 | 54 |
<tr> |
63 |
<th>[% LxERP.t8("Attachment name") %]</th> |
|
64 |
<th>[% LxERP.t8("MIME type") %]</th> |
|
65 |
<th>[% LxERP.t8("Size") %]</th> |
|
55 |
<th>[% LxERP.t8("Attachment name") %]</th>
|
|
56 |
<th>[% LxERP.t8("MIME type") %]</th>
|
|
57 |
<th>[% LxERP.t8("Size") %]</th>
|
|
66 | 58 |
</tr> |
67 |
</thead> |
|
68 |
|
|
69 |
<tbody> |
|
59 |
</thead> |
|
60 |
<tbody> |
|
70 | 61 |
[% FOREACH attachment = attachments %] |
71 |
<tr class="listrow">
|
|
62 |
<tr>
|
|
72 | 63 |
<td>[% L.link(SELF.url_for(action="download_attachment", id=attachment.id), attachment.name) %]</td> |
73 | 64 |
<td>[% HTML.escape(attachment.mime_type) %]</td> |
74 | 65 |
<td>[% HTML.escape(LxERP.format_amount(attachment.content.length, 0)) %]</td> |
75 |
</tr>
|
|
66 |
</tr> |
|
76 | 67 |
[% END %] |
77 |
</tbody> |
|
78 |
</table> |
|
79 |
[% END %] |
|
68 |
</tbody> |
|
69 |
</table> |
|
70 |
|
|
71 |
[% END %] |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/e*
Dateien in email_journal/* employee/*