diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-01-28 21:43:11 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-01-28 21:43:11 +0100 |
| commit | 1a51fb5676111ae9cfa4f5ed59b4617335139d75 (patch) | |
| tree | d371d9989264ec95cbf30079b896c6a6a8a53f75 /archaeological_operations/templates | |
| parent | 7157eccfa146c4b2d85e98e10ef8d244509769b7 (diff) | |
| download | Ishtar-1a51fb5676111ae9cfa4f5ed59b4617335139d75.tar.bz2 Ishtar-1a51fb5676111ae9cfa4f5ed59b4617335139d75.zip | |
Add abstract to operations
Diffstat (limited to 'archaeological_operations/templates')
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index c0beac524..c45d6eb73 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -57,9 +57,8 @@ {% if item.cost %}<p><label>{%trans "Cost:"%}</label> <span class='value'>{{ item.cost }} €{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} €/m<sup>2</sup>){%endif%}</span></p>{%endif%} {% if item.duration %}<p><label>{%trans "Duration:"%}</label> <span class='value'>{{ item.duration }} {%trans "Day"%}s</span></p>{%endif%} - -<p><label>{%trans "Remains:"%}</label> <span class='value'>{{ item.remains.all|join:", " }}</span></p> -<p><label>{%trans "Periods:"%}</label> <span class='value'>{{ item.periods.all|join:", " }}</span></p> +{% field_multiple "Remains" item.remains %} +{% field_multiple "Periods" item.periods %} {% if item.QUALITY_DICT %} {% field "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %} @@ -68,6 +67,7 @@ {% field "Record quality" item.record_quality|from_dict:item.history_object.QUALITY_DICT %} {% endif %} +{% field "Abstract" item.abstract %} {% if item.associated_file %} <p><label>{%trans "Associated file:"%}</label> <span class='value'><a href='#' onclick='load_window("{% url show-file item.associated_file.pk ''%}")'>{{ item.associated_file }}</a></span></p><!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file --> |
