summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/sheet_dating_list.html
blob: 6135bbf776c9844c24b77879a58e6e6d523a0c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% load i18n %}
<table id='{{window_id}}-datings' class="table table-striped">
    <tr>
        <th>{% trans "Chronological period" %}</th>
        <th>{% trans "Start date" %}</th>
        <th>{% trans "End date" %}</th>
        <th>{% trans "Dating type" %}</th>
        <th>{% trans "Quality" %}</th>
        <th>{% trans "Precise on this dating" %}</th>
    </tr>
    {% for dating in dating_list %}
    <tr>
        <td>
            {{dating.period}}
        </td>
        <td>
            {{dating.start_date|default_if_none:"-"}}
        </td>
        <td>
            {{dating.end_date|default_if_none:"-"}}
        </td>
        <td>
            {{dating.dating_type|default_if_none:"-"}}
        </td>
        <td>
            {{dating.quality|default_if_none:"-"}}
        </td>
        <td>
            {{dating.precise_dating|default_if_none:"-"}}
        </td>
    </tr>
    {% endfor %}
</table>