From 7d35c4a7672007f966bd47ff602e3e818dd2e042 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 25 Aug 2013 20:57:08 +0200 Subject: Add missing PDF templates - fix bad link in context record sheetfile --- .../templates/ishtar/sheet_contextrecord.html | 2 +- .../templates/ishtar/sheet_contextrecord_pdf.html | 18 ++++++++++++++++++ .../templates/ishtar/sheet_find_pdf.html | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 archaeological_context_records/templates/ishtar/sheet_contextrecord_pdf.html create mode 100644 archaeological_finds/templates/ishtar/sheet_find_pdf.html diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 38c8d2160..003e7d89b 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -1,7 +1,7 @@ {% extends "ishtar/sheet.html" %} {% load i18n %} {% block content %} -
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}
+
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}

{% trans "Context Record"%}

diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord_pdf.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord_pdf.html new file mode 100644 index 000000000..f92dbea2e --- /dev/null +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord_pdf.html @@ -0,0 +1,18 @@ +{% extends "ishtar/sheet_contextrecord.html" %} +{% block header %} + +{% endblock %} +{% block main_head %} +{{ block.super }} +
+Ishtar – {{APP_NAME}} – {{item}} +
+{% endblock %} +{%block head_sheet%}{%endblock%} +{%block main_foot%} +
+– – +
+ + +{%endblock%} diff --git a/archaeological_finds/templates/ishtar/sheet_find_pdf.html b/archaeological_finds/templates/ishtar/sheet_find_pdf.html new file mode 100644 index 000000000..13671ce70 --- /dev/null +++ b/archaeological_finds/templates/ishtar/sheet_find_pdf.html @@ -0,0 +1,18 @@ +{% extends "ishtar/sheet_find.html" %} +{% block header %} + +{% endblock %} +{% block main_head %} +{{ block.super }} +
+Ishtar – {{APP_NAME}} – {{item}} +
+{% endblock %} +{%block head_sheet%}{%endblock%} +{%block main_foot%} +
+– – +
+ + +{%endblock%} -- cgit v1.2.3