Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7e6e7605

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 7e6e760547199b6b8ca620e940d8da1684b0b095
  • Vorgänger bd577f26
  • Nachfolger 7896df7f

Neues kivitendo Design Aenderungen in templates/webpages/e*

Dateien in email_journal/* employee/*

Unterschiede anzeigen:

templates/webpages/email_journal/list.html
1
[% USE HTML %][% USE L %][% USE LxERP %]
1
[% USE HTML %]
2
[% USE L %]
3
[% USE LxERP %]
2 4

  
3 5
<h1>[% FORM.title %]</h1>
4 6

  
5
[%- INCLUDE 'common/flash.html' %]
6

  
7
[%- PROCESS 'email_journal/_filter.html' filter=SELF.models.filtered.laundered %]
7
[% INCLUDE 'common/flash.html' %]
8
[% PROCESS 'email_journal/_filter.html' filter=SELF.models.filtered.laundered %]
8 9

  
9 10
[% IF !ENTRIES.size %]
10
 <p>
11
  [%- LxERP.t8('There are no entries that match the filter.') %]
12
 </p>
11
  <p>[% LxERP.t8('There are no entries that match the filter.') %]</p>
12

  
13
[% ELSE %]
13 14

  
14
[%- ELSE %]
15
 <table id="email_journal_list" width="100%">
15
<table id="email_journal_list" class="tbl-list wi-moderate">
16 16
  <thead>
17
   <tr class="listheading">
18
    [% IF SELF.can_view_all %]
19
     <th>[% L.sortable_table_header("sender") %]</th>
20
    [% END %]
21
    <th>[% L.sortable_table_header("from") %]</th>
22
    <th>[% L.sortable_table_header("recipients") %]</th>
23
    <th>[% L.sortable_table_header("subject") %]</th>
24
    <th>[% L.sortable_table_header("sent_on") %]</th>
25
    <th>[% L.sortable_table_header("status") %]</th>
26
    <th>[% L.sortable_table_header("extended_status") %]</th>
27
   </tr>
17
    <tr>
18
      [% IF SELF.can_view_all %]
19
        <th>[% L.sortable_table_header("sender") %]</th>
20
      [% END %]
21
      <th>[% L.sortable_table_header("from") %]</th>
22
      <th>[% L.sortable_table_header("recipients") %]</th>
23
      <th>[% L.sortable_table_header("subject") %]</th>
24
      <th>[% L.sortable_table_header("sent_on") %]</th>
25
      <th>[% L.sortable_table_header("status") %]</th>
26
      <th>[% L.sortable_table_header("extended_status") %]</th>
27
    </tr>
28 28
  </thead>
29

  
30 29
  <tbody>
31
  [%- FOREACH entry = ENTRIES %]
32
  <tr class="listrow[% IF entry.status != 'ok' %]_error[% END %]" id="email_journal_id_[% entry.id %]">
33
   [% IF SELF.can_view_all %]
34
    <td>
35
     [% IF entry.sender %]
36
      [% HTML.escape(entry.sender.name) %]
37
     [% ELSE %]
38
      [% LxERP.t8("kivitendo") %]
39
     [% END %]
40
    </td>
41
   [% END %]
42
   <td>
43
    <a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.get_callback) %]">
44
     [%- HTML.escape(entry.from) %]
45
    </a>
46
   </td>
47
   <td>[%- HTML.escape(entry.recipients) %]</td>
48
   <td>
49
    <a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.get_callback) %]">
50
     [%- HTML.escape(entry.subject) %]
51
    </a>
52
   </td>
53
   <td>[%- HTML.escape(entry.sent_on.to_lxoffice('precision' => 'second')) %]</td>
54
   <td>
55
    [%- IF entry.status == 'ok' %]
56
     [%- LxERP.t8('succeeded') %]
57
    [% ELSE %]
58
     [%- LxERP.t8('failed') %]
59
    [%- END %]
60
   </td>
61
   <td>[%- HTML.escape(entry.extended_status) %]</td>
62
  </tr>
63
  [%- END %]
30
    [% FOREACH entry = ENTRIES %]
31
    <tr[% IF entry.status != 'ok' %] class="row_error[% END %]" id="email_journal_id_[% entry.id %]">
32
      [% IF SELF.can_view_all %]
33
        <td>[% IF entry.sender %] [% HTML.escape(entry.sender.name) %] [% ELSE %] [% LxERP.t8("kivitendo") %] [% END %]</td>
34
      [% END %]
35
      <td><a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.get_callback) %]"> [% HTML.escape(entry.from) %] </a></td>
36
      <td>[% HTML.escape(entry.recipients) %]</td>
37
      <td><a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.get_callback) %]"> [% HTML.escape(entry.subject) %] </a></td>
38
      <td>[% HTML.escape(entry.sent_on.to_lxoffice('precision' => 'second')) %]</td>
39
      <td>[% IF entry.status == 'ok' %] [% LxERP.t8('succeeded') %] [% ELSE %] [% LxERP.t8('failed') %] [% END %]</td>
40
      <td>[% HTML.escape(entry.extended_status) %]</td>
41
    </tr>
42
    [% END %]
64 43
  </tbody>
65
 </table>
66
[%- END %]
44
</table>
45

  
46
[% END %]
67 47

  
68 48
[% L.paginate_controls %]

Auch abrufbar als: Unified diff