Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 62706652

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 6270665229014a05ef1710b58101fae76ced90eb
  • Vorgänger 0ae2e90f
  • Nachfolger 2e3d3c25

EmailJournal: design40 überarbeitet

Unterschiede anzeigen:

templates/design40_webpages/email_journal/show.html
7 7

  
8 8
[% INCLUDE 'common/flash.html' %]
9 9

  
10
<div class="wrapper" id="wrapper-1">
10 11

  
11
<table id="email_journal_details" class="tbl-horizontal email_journal_details">
12
<table id="email_journal_details" class="tbl-horizontal">
12 13
  <tbody>
13 14
    <tr>
14 15
      <th>[% LxERP.t8("From") %]</th>
15
      <td>[% HTML.escape(SELF.entry.from) %]</td>
16
      <td>[% L.input_tag('from', HTML.escape(SELF.entry.from), style="color:black", class="wi-verywide", disabled=1) %]</td>
16 17
    </tr>
17 18
    <tr>
18 19
      <th>[% LxERP.t8("Recipients") %]</th>
19
      <td>[% HTML.escape(SELF.entry.recipients) %]</td>
20
      <td>[% L.input_tag('recipients', HTML.escape(SELF.entry.recipients), style="color:black", class="wi-verywide", disabled=1) %]</td>
20 21
    </tr>
21 22
    <tr>
22 23
      <th>[% LxERP.t8("Subject") %]</th>
23
      <td>[% HTML.escape(SELF.entry.subject) %]</td>
24
      <td>[% L.input_tag('subject', HTML.escape(SELF.entry.subject), style="color:black", class="wi-verywide", disabled=1) %]</td>
24 25
    </tr>
25 26
    <tr>
26 27
      <th>[% LxERP.t8("Sent on") %]</th>
27
      <td>[% HTML.escape(SELF.entry.sent_on.to_lxoffice("precision" => "second")) %]</td>
28
      <td>[% L.input_tag('sent_on', HTML.escape(SELF.entry.sent_on.to_lxoffice("precision" => "second")), style="color:black", class="wi-verywide", disabled=1) %]</td>
28 29
    </tr>
29 30
    <tr>
30 31
      <th>[% LxERP.t8("Status") %]</th>
31
      <td>[% IF SELF.entry.status == 'sent' %] [% LxERP.t8('sent') %] [% ELSIF SELF.entry.status == 'send_failed' %] [% LxERP.t8('send failed') %] [% ELSIF SELF.entry.status == 'imported' %] [% LxERP.t8('imported') %] [% ELSE %] [% SELF.entry.status %] [% END %] </td>
32
      <td>[% L.input_tag('status', P.email_journal.entry_status(SELF.entry), style="color:black", class="wi-verywide", disabled=1) %]</td>
32 33
    </tr>
33 34
    <tr>
34 35
      <th>[% LxERP.t8("Extended status") %]</th>
35
      <td><pre>[% HTML.escape(SELF.entry.extended_status) %]</pre></td>
36
      <td>
37
        [% L.textarea_tag('extended_status', HTML.escape(SELF.entry.extended_status), wrap="soft", style="color:black; height:25px", class="wi-verywide", disabled=1) %]
38
      </td>
36 39
    </tr>
37 40
    <tr>
38 41
      <th>[% LxERP.t8("Headers") %]</th>
39
      <td><pre>[% HTML.escape(SELF.entry.headers) %]</pre></td>
42
      <td>
43
        [% L.textarea_tag('headers', HTML.escape(SELF.entry.headers), wrap="soft", style="color:black; height:25px", class="wi-verywide", disabled=1) %]
44
      </td>
40 45
    </tr>
41 46
    <tr>
42 47
      <th>[% LxERP.t8("Body") %]</th>
43 48
      <td>
44 49
        [% IF SELF.entry.headers.match('(?i)content-type:.*text/html') %]
50
          <div style="border:1px solid black;">
45 51
          [% P.restricted_html(SELF.entry.body) %]
52
          </div>
46 53
        [% ELSE %]
47
          <pre>[% HTML.escape(SELF.entry.body) %]</pre>
54
          [% L.textarea_tag('body', HTML.escape(SELF.entry.body), wrap="soft", style="color:black; height:200px", class="wi-verywide", disabled=1) %]
48 55
        [% END %]
49 56
      </td>
50 57
    </tr>
51 58
  </tbody>
52 59
</table>
53 60

  
61
</div> <!-- wrapper-1 -->
54 62

  
63
<div class="wrapper" id="wrapper-2">
55 64
[% SET attachments = SELF.entry.attachments_sorted %]
56 65
[% IF attachments.size %]
57 66

  
58
<table id="email_journal_details" class="tbl-list email_journal_details">
67
<table id="email_journal_details" class="tbl-list">
59 68
  <caption>[% LxERP.t8("Attachments") %]</caption>
60 69
  <thead>
61 70
    <tr>
......
75 84
  </tbody>
76 85
</table>
77 86

  
87
[% ELSE %]
88

  
89
<p>[% LxERP.t8("No attachments") %]</p>
90

  
78 91
[% END %]
92
</div> <!-- wrapper-2 -->

Auch abrufbar als: Unified diff