diff options
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_treatment.html')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_treatment.html | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html index 20ea9e3c4..1dfe19844 100644 --- a/archaeological_finds/templates/ishtar/sheet_treatment.html +++ b/archaeological_finds/templates/ishtar/sheet_treatment.html @@ -6,18 +6,31 @@ {% block content %} {% window_nav item window_id 'show-treatment' %} +{% if item.image %} +<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}" class='photo'><img src='{{item.thumbnail.url}}'/></a> +{% endif%} + +<p class="window-refs">{{ item.label|default:"" }}</p> +{% if item.other_reference %} +<p class="window-refs">{{ item.other_reference }}</p>{% endif %} +<p class="window-refs">{{ item.year }} - {{ item.index }}</p> +{% if item.external_id %} +<p class="window-refs">{{ item.external_id }}</p>{% endif %} + <ul class='form-flex'> - {% field_li "Treatment type" item.treatment_type %} - {% field_li "Container" item.container %} + {% field_li_multiple "Treatment type" item.treatment_types %} {% field_li "Location" item.location %} {% field_li "Location (not referenced)" item.other_location %} - {% field_li "Doer" item.person %} + {% field_li "Container" item.container %} + {% field_li "Responsible" item.person %} + {% field_li "Organization" item.organization %} {% field_li "Start date" item.start_date %} {% field_li "End date" item.end_date %} </ul> -{% if item.description or item.comment %} -{% field "Description" item.description "<pre>" "</pre>" %} +{% if item.description or item.comment or item.goal %} {% field "Comment" item.comment "<pre>" "</pre>" %} +{% field "Description" item.description "<pre>" "</pre>" %} +{% field "Goal" item.goal "<pre>" "</pre>" %} {% endif %} {% trans "Upstream finds" as finds %} |
