PluginProbe
Packeta / 1.6.1
Packeta v1.6.1
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / template / log / page.latte

page.latte in Packeta 1.6.1, at template/log/page.latte

50 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {varType Packetery\Core\Log\Record[] $rows}
2
3 {include '../packeta-header.latte'}
4
5 <div id="packetery-log-page" class="packeta_log">
6 <table class="packetery-log-table">
7 <thead>
8 <tr>
9 <th class="packetery-log-column packetery-log-column-status">{$translations['status']}</th>
10 <th class="packetery-log-column packetery-log-column-date">{$translations['dateAndTime']}</th>
11 <th class="packetery-log-column packetery-log-column-action">{$translations['action']}</th>
12 <th class="packetery-log-column packetery-log-column-note">{$translations['note']}</th>
13 </tr>
14 </thead>
15 <tbody>
16 {foreach $rows as $row}
17 <tr n:class="'log-' . $row->status">
18 <td class="packetery-log-column packetery-log-column-status">
19 {$translatedStatuses[$row->status] ?? $row->status}
20 </td>
21 <td class="packetery-log-column packetery-log-column-date">
22 {$row->date|wpDateTime}
23 </td>
24 <td class="packetery-log-column packetery-log-column-action">
25 {$translatedActions[$row->action] ?? $row->action}
26 </td>
27 <td class="packetery-log-column packetery-log-column-note">
28 {$row->note}
29 </td>
30 </tr>
31 {else}
32 <tr>
33 <td colspan="4">
34 {$translations['logListIsEmpty']}
35 </td>
36 </tr>
37 {/foreach}
38
39 {if $maxRowsExceeded}
40 <tr>
41 <td colspan="4">
42 {$translations['moreRowsNotice']}
43 </td>
44 </tr>
45 {/if}
46
47 </tbody>
48 </table>
49 </div>
50