summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/sheet_operation.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-19 19:13:07 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-19 19:13:07 +0100
commit37a52a77a7cf2b02c5a811af7a81def1751ea737 (patch)
treea10ff1a0d8c0562099a7c9a327318f0bcb0d3d21 /archaeological_operations/templates/ishtar/sheet_operation.html
parent1a32a2430824034d22c848c9d37e1197eb90ff4e (diff)
downloadIshtar-37a52a77a7cf2b02c5a811af7a81def1751ea737.tar.bz2
Ishtar-37a52a77a7cf2b02c5a811af7a81def1751ea737.zip
Improve sheet context record
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 1f3e9e157..565bccbb2 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -229,20 +229,20 @@
<div class='row'>
{% if item.nb_context_records_by_type %}
<div class="col-12 col-md-6 col-lg-4">
- <table>
+ <table class="table">
<tr><th>{% trans "Type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_context_records_by_type %}
- <tr><td>{{label}}</td><td>{{nb}}</td></tr>
+ <tr><td>{{label|default:"-"}}</td><td>{{nb}}</td></tr>
{% endfor %}
</table>
</div>
{% endif %}
{% if item.nb_context_records_by_periods %}
<div class="col-12 col-md-6 col-lg-4">
- <table>
+ <table class="table">
<tr><th>{% trans "Period" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_context_records_by_periods %}
- <tr><td>{{label}}</td><td>{{nb}}</td></tr>
+ <tr><td>{{label|default:"-"}}</td><td>{{nb}}</td></tr>
{% endfor %}
</table>
</div>
@@ -256,17 +256,17 @@
<div class='row'>
{% if item.nb_finds_by_material_type %}
<div class="col-12 col-md-6 col-lg-4">
- <table>
+ <table class="table">
<tr><th>{% trans "Material type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_finds_by_material_type %}
- <tr><td>{{label}}</td><td>{{nb}}</td></tr>
+ <tr><td>{{label|default:"-"}}</td><td>{{nb}}</td></tr>
{% endfor %}
</table>
</div>
{% endif %}
{% if item.nb_finds_by_types %}
<div class="col-12 col-md-6 col-lg-4">
- <table>
+ <table class="table">
<tr><th>{% trans "Object type" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_finds_by_types %}
<tr><td>{{label}}</td><td>{{nb}}</td></tr>
@@ -276,10 +276,10 @@
{% endif %}
{% if item.nb_finds_by_periods %}
<div class="col-12 col-md-6 col-lg-4">
- <table>
+ <table class="table">
<tr><th>{% trans "Period" %}</th><th>{% trans "Number" %}</th></tr>
{% for label, nb in item.nb_finds_by_periods %}
- <tr><td>{{label}}</td><td>{{nb}}</td></tr>
+ <tr><td>{{label|default:"-"}}</td><td>{{nb}}</td></tr>
{% endfor %}
</table>
</div>