1 [% USE HTML %][% USE L %][% USE LxERP %]
3 <h1>[% FORM.title %]</h1>
5 [%- INCLUDE 'common/flash.html' %]
7 [%- PROCESS 'email_journal/_filter.html' filter=SELF.models.filtered.laundered %]
11 [%- LxERP.t8('There are no entries that match the filter.') %]
15 <table id="email_journal_list" width="100%">
17 <tr class="listheading">
18 [% IF SELF.can_view_all %]
19 <th>[% L.sortable_table_header("sender") %]</th>
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>
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 %]
36 [% HTML.escape(entry.sender.name) %]
38 [% LxERP.t8("kivitendo") %]
43 <a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.get_callback) %]">
44 [%- HTML.escape(entry.from) %]
47 <td>[%- HTML.escape(entry.recipients) %]</td>
49 <a href="[% SELF.url_for(action => 'show', id => entry.id, back_to => SELF.get_callback) %]">
50 [%- HTML.escape(entry.subject) %]
53 <td>[%- HTML.escape(entry.sent_on.to_lxoffice('precision' => 'second')) %]</td>
55 [%- IF entry.status == 'ok' %]
56 [%- LxERP.t8('succeeded') %]
58 [%- LxERP.t8('failed') %]
61 <td>[%- HTML.escape(entry.extended_status) %]</td>
68 [% L.paginate_controls %]