summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operationsource.html15
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operationsource_pdf.html18
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operationsource_window.html3
3 files changed, 36 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operationsource.html b/archaeological_operations/templates/ishtar/sheet_operationsource.html
new file mode 100644
index 000000000..5e2a39826
--- /dev/null
+++ b/archaeological_operations/templates/ishtar/sheet_operationsource.html
@@ -0,0 +1,15 @@
+{% extends "ishtar/sheet_source.html" %}
+{% load i18n window_field link_to_window %}
+
+{% block head_sheet %}
+{{block.super}}
+<h1>{% trans "Operation source"%}</h1>
+{% endblock %}
+
+{% block export %}
+<div class='tool'>{%trans "Export as:"%} <a href='{% url show-operationsource item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-operationsource item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
+{% endblock %}
+
+{% block related %}
+{% field "Related operation" item.owner '' item.owner|link_to_window %}
+{% endblock %}
diff --git a/archaeological_operations/templates/ishtar/sheet_operationsource_pdf.html b/archaeological_operations/templates/ishtar/sheet_operationsource_pdf.html
new file mode 100644
index 000000000..32362d4c2
--- /dev/null
+++ b/archaeological_operations/templates/ishtar/sheet_operationsource_pdf.html
@@ -0,0 +1,18 @@
+{% extends "ishtar/sheet_operationsource.html" %}
+{% block header %}
+<link rel="stylesheet" href="{{STATIC_URL}}/media/style_basic.css" />
+{% endblock %}
+{% block main_head %}
+{{ block.super }}
+<div id="pdfheader">
+Ishtar &ndash; {{APP_NAME}} &ndash; {{item}}
+</div>
+{% endblock %}
+{%block head_sheet%}{%endblock%}
+{%block main_foot%}
+<div id="pdffooter">
+&ndash; <pdf:pagenumber/> &ndash;
+</div>
+</body>
+</html>
+{%endblock%}
diff --git a/archaeological_operations/templates/ishtar/sheet_operationsource_window.html b/archaeological_operations/templates/ishtar/sheet_operationsource_window.html
new file mode 100644
index 000000000..8cd2c7fa1
--- /dev/null
+++ b/archaeological_operations/templates/ishtar/sheet_operationsource_window.html
@@ -0,0 +1,3 @@
+{% extends "ishtar/sheet_operationsource.html" %}
+{% block main_head %}{%endblock%}
+{% block main_foot %}{%endblock%}