From 223aa279414dae547db923212babc0b5017745c0 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 25 Aug 2013 18:41:39 +0200 Subject: Basic template for Find sheet (refs #1314) --- .../templates/ishtar/sheet_find.html | 48 ++++++++++++++++++++++ .../templates/ishtar/sheet_find_window.html | 3 ++ 2 files changed, 51 insertions(+) create mode 100644 archaeological_finds/templates/ishtar/sheet_find.html create mode 100644 archaeological_finds/templates/ishtar/sheet_find_window.html (limited to 'archaeological_finds/templates/ishtar') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html new file mode 100644 index 000000000..208447905 --- /dev/null +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -0,0 +1,48 @@ +{% extends "ishtar/sheet.html" %} +{% load i18n %} +{% block content %} +
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}
+ +

{% trans "Find"%}

+ +{% if item.image %} +plouf +{{image.label}} +{% endif%} + +

+{{item.label}}

+{% if item.description %}

+{{item.description}}

{% endif%} +

+{{item.material_type}}

+

+{{item.dating}}

+{% if item.volume %}

+{{item.volume}}

{% endif%} +{% if item.weight %}

+{{item.weight}}

{% endif%} +{% if item.find_number %}

+{{item.find_number}}

{% endif%} +{% if item.upstream_treatment %}

+{{item.upstream_treatment}}

{% endif%} +{% if item.downstream_treatment %}

+{{item.downstream_treatment}}

{% endif%} +{% if item.container %}

+{{item.container}}

{% endif%} + +

{% trans "Associated base finds"%}

+ +{% for base_find in item.base_finds.all %} +

+{{base_find.complete_id}}

+

+{{ base_find.context_record }}

+

+{{base_find.context_record.parcel}}

+

+{{ base_find.context_record.operation }}

+{% if forloop.counter0 %}
{% endif %} +{% endfor %} + +{% endblock %} diff --git a/archaeological_finds/templates/ishtar/sheet_find_window.html b/archaeological_finds/templates/ishtar/sheet_find_window.html new file mode 100644 index 000000000..3ef9ebc92 --- /dev/null +++ b/archaeological_finds/templates/ishtar/sheet_find_window.html @@ -0,0 +1,3 @@ +{% extends "ishtar/sheet_find.html" %} +{% block main_head %}{%endblock%} +{% block main_foot %}{%endblock%} -- cgit v1.2.3