Blame view

history/templates/history_row.html 488 Bytes
janek37 authored
1
2
3
4
5
6
{% load i18n %}
{% for header, values in rows %}
    <tr>
        <td>{{ header }}</td>
        <td>
            {% if values.0 == None %}
janek37 authored
7
                <em>{% trans 'added' %}</em>
janek37 authored
8
9
10
11
12
13
            {% else %}
                {{ values.0 }}
            {% endif %}
        </td>
        <td>
            {% if values.1 == None %}
janek37 authored
14
                <em>{% trans 'deleted' %}</em>
janek37 authored
15
16
17
18
19
20
            {% else %}
                {{ values.1 }}
            {% endif %}
        </td>
    </tr>
{% endfor %}