vigiboard / vigiboard / templates / vigiboard_history_table.html @ 693e96f1
History | View | Annotate | Download (792 Bytes)
1 |
<html xmlns:py="http://genshi.edgewall.org/" |
---|---|
2 |
xmlns:xi="http://www.w3.org/2001/XInclude" |
3 |
py:strip=""> |
4 |
|
5 |
<py:def function="history_table(history,error)"> |
6 |
|
7 |
<p py:if="(not history or len(history) == 0) and error == True"> |
8 |
There is no history. |
9 |
</p>
|
10 |
|
11 |
<py:if test="history and len(history) > 0"> |
12 |
<table class="history_table" summary="Historique de l'élément"> |
13 |
<thead>
|
14 |
<tr>
|
15 |
<td>Time</td> |
16 |
<td>User</td> |
17 |
<td>Type</td> |
18 |
<td>Value</td> |
19 |
<td>Text</td> |
20 |
</tr>
|
21 |
</thead>
|
22 |
<tbody>
|
23 |
<py:for each="(time,user,type,value,text,class_tr,class_value) in history"> |
24 |
<tr py:attrs="class_tr"> |
25 |
<td>${time}</td> |
26 |
<td>${user}</td> |
27 |
<td>${type}</td> |
28 |
<td py:attrs="class_value">${value}</td> |
29 |
<td>${text}</td> |
30 |
</tr>
|
31 |
</py:for>
|
32 |
</tbody>
|
33 |
</table>
|
34 |
</py:if>
|
35 |
|
36 |
</py:def>
|
37 |
|
38 |
</html>
|