818c38ccaaab16454a26cb8acb946db8e40491fb
[redakcja.git] / apps / wiki / templates / wiki / diff_table.html
1 {% load i18n %}
2 <table class="diff_table">
3         <thead>
4                 <tr>
5                         <th colspan="2">{% trans "Old version" %}</th>
6                         <th colspan="2">{% trans "New version" %}</th>
7                 </tr>
8         </thead>
9 <tbody>
10 {% for an, a, bn, b, has_change in changes %}
11
12 <tr class="{% if has_change %}change{% endif %}">
13 <td>{{an}}</td>
14 <td class="left">{{ a|safe }}&nbsp;</td>
15 <td>{{bn}}</td>
16 <td class="right">{{ b|safe }}&nbsp;</td>
17 </tr>
18
19 {% endfor %}
20 </tbody>
21 </table>