diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-25 12:57:00 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-25 12:57:00 +0100 |
| commit | 4fef34efcb087167838add32489531bfb63818a3 (patch) | |
| tree | 8c7b16e0f32c77b4a12f1cdfec5c568638c20130 /archaeological_operations/templates/ishtar/blocks | |
| parent | e92437717ba1e0651b517e0455364ce08784a61e (diff) | |
| download | Ishtar-4fef34efcb087167838add32489531bfb63818a3.tar.bz2 Ishtar-4fef34efcb087167838add32489531bfb63818a3.zip | |
Change archaeological sites form (more robust)
Diffstat (limited to 'archaeological_operations/templates/ishtar/blocks')
| -rw-r--r-- | archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html b/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html new file mode 100644 index 000000000..d72291c5b --- /dev/null +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/archaeologicalsites.html @@ -0,0 +1,20 @@ +{% load i18n %} +<table class='simple'> + <caption>{{caption}}</caption> + <tr> + <th>{% trans "Ref." %}</th> + <th>{% trans "Name" %}</th> + <th>{% trans "Periods" %}</th> + <th>{% trans "Remains" %}</th> + </tr> + {% for archaeosite in data %} + <tr> + <td class='string'>{{archaeosite.reference}}</td> + <td class='string'>{{archaeosite.name}}</td> + <td class='string'>{% for period in archaeosite.periods.all %}{{period}}{% include "blocks/comma_list.html" %}{% endfor %}</td> + <td class='string'>{% for remain in archaeosite.remains.all %}{{remain}}{% include "blocks/comma_list.html" %}{% endfor %}</td> + </tr> + {% empty %} + <tr><td colspan="4" class='no_items'>{% trans "No archaeological site associated" %}</td></tr> + {% endfor %} +</table> |
