diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_find.html')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 05a796a9f..40ccdd713 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -55,7 +55,6 @@ {% field_li "Find number" item.find_number %} {% field_li "Minimum number of individuals (MNI)" item.min_number_of_individuals %} -{% field_li "Point of topographic reference" item.topographic_reference_point %} {% field_li "Conservatory state" item.conservatory_state %} {% if item.conservatory_comment %} </ul> @@ -111,7 +110,7 @@ </a> </td> <td class='string'>{{ treatment.year }} - {{treatment.index}}</td> - <td class='string'>{{ treatment.label }}</td> + <td class='string'>{{ treatment.label|default_if_none:"-" }}</td> <td class='string'>{{ treatment.treatment_types_lbl }}</td> <td class='item-list'>{% for item in items %}<span>{{item}} {{ item|link_to_window}}</span>{% endfor %}</td> <td class='string'>{{ treatment.person|default_if_none:"-" }}</td> @@ -200,6 +199,20 @@ {% field_li "Town" base_find.context_record.parcel.town %} {% field_li "Parcel" base_find.context_record.parcel %} {% field_li_detail "Operation" base_find.context_record.operation %} +{% field_li "Point of topographic reference" base_find.topographic_localisation %} + +{% if base_find.x or base_find.y %} + <li><label>{% trans "Coordinates:" %}</label> + <span class="value"> + {% trans "X:"%} {{base_find.x|default_if_none:"-"}}, + {% trans "Y:"%} {{base_find.y|default_if_none:"-"}}, + {% trans "Z:"%} {{base_find.z|default_if_none:"-"}} + {% if base_find.spatial_reference_system %} + ({{base_find.spatial_reference_system.label}}{% if base_find.spatial_reference_system.srid %} - + {% trans "SRID:"%} {{base_find.spatial_reference_system.srid}}{% endif %}) + {% endif %} + </span> +{% endif %} </ul> {% field "Description" base_find.description "<pre>" "</pre>" %} |
