diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-29 18:26:54 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-29 18:28:18 +0100 |
| commit | a296bd385e704b1e76a774341f8ad126c892ccab (patch) | |
| tree | 648da5accc2a93a9ff5c0c80dd1ddc09f6bc708f /archaeological_operations/templates/ishtar/sheet_operationsource.html | |
| parent | 80726189acaa2ce5fa604dd589aad7d01c099d4f (diff) | |
| download | Ishtar-a296bd385e704b1e76a774341f8ad126c892ccab.tar.bz2 Ishtar-a296bd385e704b1e76a774341f8ad126c892ccab.zip | |
Add a template for operation sources
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_operationsource.html')
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operationsource.html | 15 |
1 files changed, 15 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 %} |
