Revision 7ce093c0
Von Hans Peter Schlaepfer vor mehr als 3 Jahren hinzugefügt
templates/webpages/common/show_history.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
1 |
[% USE T8 %] |
|
2 | 2 |
[% USE HTML %] |
3 |
|
|
3 | 4 |
[% IF SUCCESS %] |
4 | 5 |
|
5 |
[% BLOCK column_header %] |
|
6 |
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
|
|
7 |
[% IF THIS_COLUMN && !THIS_COLUMN_DOWN %]
|
|
8 |
<tr><td><a title="[% 'order' | $T8 %]" style="background: #ccccff; border: solid 1px #aaaade;">∧</a></td></tr>
|
|
9 |
[% ELSE %]
|
|
10 |
<tr><td><a href="[% callback %]&order=[% column %]--0" title="[% 'order' | $T8 %]" style="border: solid 1px #aaaade;">∧</a></td></tr>
|
|
11 |
[% END %]
|
|
12 |
[% IF THIS_COLUMN && THIS_COLUMN_DOWN %]
|
|
13 |
<tr><td><a title="[% 'order' | $T8 %]" style="background: #ccccff; border: solid 1px #aaaade;">∨</a></td></tr>
|
|
14 |
[% ELSE %]
|
|
15 |
<tr><td><a href="[% callback %]&order=[% column %]--1" title="[% 'order' | $T8 %]" style="border: solid 1px #aaaade;">∨</a></td></tr>
|
|
16 |
[% END %]
|
|
17 |
</table>
|
|
18 |
[% END %] |
|
6 |
[% BLOCK column_header %]
|
|
7 |
<span class="sort_symbol">
|
|
8 |
[% IF THIS_COLUMN && !THIS_COLUMN_DOWN %] |
|
9 |
<a title="[% 'order' | $T8 %]" class="ascending active">∧</a>
|
|
10 |
[% ELSE %] |
|
11 |
<a href="[% callback %]&order=[% column %]--0" title="[% 'order' | $T8 %]" class="ascending">∧</a>
|
|
12 |
[% END %] |
|
13 |
[% IF THIS_COLUMN && THIS_COLUMN_DOWN %] |
|
14 |
<a title="[% 'order' | $T8 %]" class="descending active">∨</a>
|
|
15 |
[% ELSE %] |
|
16 |
<a href="[% callback %]&order=[% column %]--1" title="[% 'order' | $T8 %]" class="descending">∨</a>
|
|
17 |
[% END %] |
|
18 |
</span>
|
|
19 |
[% END %]
|
|
19 | 20 |
|
20 |
<table> |
|
21 |
<tr class='listheading'> |
|
22 |
<th> |
|
23 |
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0"> |
|
24 |
<tr> |
|
25 |
<td align="center" valign="middle"> |
|
26 |
[% 'Time' | $T8 %] |
|
27 |
</td> |
|
28 |
<td valign="top"> |
|
29 |
[% PROCESS column_header THIS_COLUMN=ITIME THIS_COLUMN_DOWN=ITIMEBY column='h.itime' %] |
|
30 |
</td> |
|
31 |
</tr> |
|
32 |
</table> |
|
33 |
</th> |
|
34 |
<th> |
|
35 |
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0"> |
|
36 |
<tr> |
|
37 |
<td align="center" valign="middle"> |
|
38 |
[% 'Employee' | $T8 %] |
|
39 |
</td> |
|
40 |
<td valign="top"> |
|
41 |
[% PROCESS column_header THIS_COLUMN=NAME THIS_COLUMN_DOWN=NAMEBY column='emp.name' %] |
|
42 |
</td> |
|
43 |
</tr> |
|
44 |
</table> |
|
45 |
</th> |
|
46 |
<th> |
|
47 |
<table> |
|
21 |
<table class="tbl-list"> |
|
22 |
<thead> |
|
23 |
<tr> |
|
24 |
<th><span class="sort">[% 'Time' | $T8 %]</span>[% PROCESS column_header THIS_COLUMN=ITIME THIS_COLUMN_DOWN=ITIMEBY column='h.itime' %]</th> |
|
25 |
<th><span class="sort">[% 'Employee' | $T8 %]</span>[% PROCESS column_header THIS_COLUMN=NAME THIS_COLUMN_DOWN=NAMEBY column='emp.name' %]</th> |
|
26 |
<th><span class="sort">[% 'Action' | $T8 %]</span></th> |
|
27 |
<th><span class="sort">[% 'Addition' | $T8 %]</span></th> |
|
28 |
<th><span class="sort">[% 'ID number' | $T8 %]</span>[% PROCESS column_header THIS_COLUMN=TRANS_ID THIS_COLUMN_DOWN=TRANS_IDBY column='h.trans_id' %]</th> |
|
29 |
<th><span class="sort">[% 'Record number' | $T8 %]</span>[% PROCESS column_header THIS_COLUMN=SNUMBERS THIS_COLUMN_DOWN=SNUMBERSBY column='h.snumbers' %]</th> |
|
30 |
</tr> |
|
31 |
</thead> |
|
32 |
<tbody> |
|
33 |
[% FOREACH row = DATEN %] |
|
48 | 34 |
<tr> |
35 |
<td>[% HTML.escape(row.itime) %] </td> |
|
36 |
<td> [% HTML.escape(row.name) %] </td> |
|
37 |
<td> [% HTML.escape(row.addition) %] </td> |
|
38 |
<td> [% HTML.escape(row.what_done) %] </td> |
|
39 |
<td> [% HTML.escape(row.id) %] </td> |
|
49 | 40 |
<td> |
50 |
[% 'Action' | $T8 %] |
|
41 |
[% IF row.haslink %] |
|
42 |
<a href="[% row.haslink %]" target="_blank">[% HTML.escape(row.snumbers) %]</a> |
|
43 |
[% ELSE %] |
|
44 |
[% HTML.escape(row.snumbers) %] |
|
45 |
[% END %] |
|
51 | 46 |
</td> |
52 | 47 |
</tr> |
53 |
</table> |
|
54 |
</th> |
|
55 |
<th> |
|
56 |
<table> |
|
57 |
<tr> |
|
58 |
<td> |
|
59 |
[% 'Addition' | $T8 %] |
|
60 |
</td> |
|
61 |
</tr> |
|
62 |
</table> |
|
63 |
</th> |
|
64 |
<th> |
|
65 |
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0"> |
|
66 |
<tr> |
|
67 |
<td align="center" valign="middle"> |
|
68 |
[% 'ID number' | $T8 %] |
|
69 |
</td> |
|
70 |
<td valign="top"> |
|
71 |
[% PROCESS column_header THIS_COLUMN=TRANS_ID THIS_COLUMN_DOWN=TRANS_IDBY column='h.trans_id' %] |
|
72 |
</td> |
|
73 |
</tr> |
|
74 |
</table> |
|
75 |
</th> |
|
76 |
<th> |
|
77 |
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0"> |
|
78 |
<tr> |
|
79 |
<td align="center" valign="middle"> |
|
80 |
[% 'Record number' | $T8 %] |
|
81 |
</td> |
|
82 |
<td valign="top"> |
|
83 |
[% PROCESS column_header THIS_COLUMN=SNUMBERS THIS_COLUMN_DOWN=SNUMBERSBY column='h.snumbers' %] |
|
84 |
</td> |
|
85 |
</tr> |
|
86 |
</table> |
|
87 |
</th> |
|
88 |
</tr> |
|
89 |
<tbody> |
|
90 |
[% FOREACH row = DATEN %] |
|
91 |
<tr class="listrow[% loop.count % 2 %]"> |
|
92 |
<td nowrap> |
|
93 |
[% HTML.escape(row.itime) %] |
|
94 |
</td> |
|
95 |
<td nowrap> |
|
96 |
[% HTML.escape(row.name) %] |
|
97 |
</td> |
|
98 |
<td> |
|
99 |
[% HTML.escape(row.addition) %] |
|
100 |
</td> |
|
101 |
<td> |
|
102 |
[% HTML.escape(row.what_done) %] |
|
103 |
</td> |
|
104 |
<td> |
|
105 |
[% HTML.escape(row.id) %] |
|
106 |
</td> |
|
107 |
<td> |
|
108 |
|
|
109 |
[% IF row.haslink %] |
|
110 |
<a href="[% row.haslink %]" target="_blank">[% HTML.escape(row.snumbers) %]</a> |
|
111 |
[% ELSE %] |
|
112 |
[% HTML.escape(row.snumbers) %] |
|
113 | 48 |
[% END %] |
114 |
|
|
115 |
</td> |
|
116 |
</tr> |
|
117 |
[% END %] |
|
118 |
</tbody> |
|
119 |
</table> |
|
49 |
</tbody> |
|
50 |
</table> |
|
120 | 51 |
[% ELSE %] |
121 |
<b>[% 'No search results found!' | $T8 %]</b><br> |
|
52 |
<b>[% 'No search results found!' | $T8 %]</b><br>
|
|
122 | 53 |
[% END %] |
123 |
<p> |
|
124 |
[% IF NONEWWINDOW %] |
|
125 |
<input type="button" onclick="javascript:history.back(-1);" value="[% 'back' | $T8 %]"> |
|
126 |
[% ELSE %] |
|
127 |
<input type="button" onclick="javascript:window.close();" value="[% 'close' | $T8 %]"> |
|
128 |
[% END %] |
|
129 |
</p> |
|
54 |
|
|
55 |
<div class="buttons"> |
|
56 |
[% IF NONEWWINDOW %] |
|
57 |
<input type="button" onclick="javascript:history.back(-1);" value="[% 'back' | $T8 %]"> |
|
58 |
[% ELSE %] |
|
59 |
<input type="button" onclick="javascript:window.close();" value="[% 'close' | $T8 %]"> |
|
60 |
[% END %] |
|
61 |
</div> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/common/..