From 33cb859e2dc08e418aedcc29eb6c576aaf2926ad Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 29 Mar 2011 03:14:01 +0200 Subject: Correct PDF export (closes #306) --- ishtar/templates/base.html | 2 +- ishtar/templates/search.html | 3 +++ ishtar/templates/sheet.html | 7 ++++--- ishtar/templates/sheet_file_pdf.html | 4 ++++ ishtar/templates/sheet_operation_pdf.html | 4 ++++ 5 files changed, 16 insertions(+), 4 deletions(-) (limited to 'ishtar/templates') diff --git a/ishtar/templates/base.html b/ishtar/templates/base.html index 7bfc579bb..630fe666e 100644 --- a/ishtar/templates/base.html +++ b/ishtar/templates/base.html @@ -4,7 +4,7 @@ - + {% block title %}Ishtar{% if APP_NAME %} - {{APP_NAME}}{%endif%}{% endblock %}
{% trans "Close" %} - {% trans "Close all windows" %} -
+{% endblock %}
{% block content %}{% endblock %}
diff --git a/ishtar/templates/sheet_file_pdf.html b/ishtar/templates/sheet_file_pdf.html index 2a23cb6a4..3c77c75f8 100644 --- a/ishtar/templates/sheet_file_pdf.html +++ b/ishtar/templates/sheet_file_pdf.html @@ -1,10 +1,14 @@ {% extends "sheet_file.html" %} +{% block css_head %} + +{% endblock %} {% block main_head %} {{ block.super }}
Ishtar – {{APP_NAME}} – {{item}}
{% endblock %} +{%block head_sheet%}{%endblock%} {%block main_foot%}
– diff --git a/ishtar/templates/sheet_operation_pdf.html b/ishtar/templates/sheet_operation_pdf.html index 30f9595bf..3397d5f43 100644 --- a/ishtar/templates/sheet_operation_pdf.html +++ b/ishtar/templates/sheet_operation_pdf.html @@ -1,10 +1,14 @@ {% extends "sheet_operation.html" %} +{% block css_head %} + +{% endblock %} {% block main_head %} {{ block.super }}
Ishtar – {{APP_NAME}} – {{item}}
{% endblock %} +{%block head_sheet%}{%endblock%} {%block main_foot%}
– -- cgit v1.2.3