From 7daf3a7552181cf90ffc00fd417c9e4bd363cf5c Mon Sep 17 00:00:00 2001 From: Joshua Jonah Date: Thu, 9 Jun 2011 11:41:32 -0400 Subject: [PATCH] Consolidated attribution in footer to a single file for easier override without having to subclass more than one template. --- helpdesk/templates/helpdesk/attribution.html | 1 + helpdesk/templates/helpdesk/base.html | 24 ++++++++++---------- helpdesk/templates/helpdesk/public_base.html | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 helpdesk/templates/helpdesk/attribution.html diff --git a/helpdesk/templates/helpdesk/attribution.html b/helpdesk/templates/helpdesk/attribution.html new file mode 100644 index 00000000..fbd66d0a --- /dev/null +++ b/helpdesk/templates/helpdesk/attribution.html @@ -0,0 +1 @@ +{% trans "Powered by django-helpdesk." %} \ No newline at end of file diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html index a92f585b..aad66a93 100644 --- a/helpdesk/templates/helpdesk/base.html +++ b/helpdesk/templates/helpdesk/base.html @@ -12,7 +12,7 @@ - + - - - + + {% block helpdesk_head %}{% endblock %} @@ -45,13 +45,13 @@

{% trans "Helpdesk" %}

{% include "helpdesk/navigation.html" %} - +
{% block helpdesk_body %}{% endblock %}
- + {% include "helpdesk/debug.html" %} diff --git a/helpdesk/templates/helpdesk/public_base.html b/helpdesk/templates/helpdesk/public_base.html index 49d2a556..f9340d31 100644 --- a/helpdesk/templates/helpdesk/public_base.html +++ b/helpdesk/templates/helpdesk/public_base.html @@ -15,7 +15,7 @@ {% block helpdesk_body %}{% endblock %} {% include "helpdesk/debug.html" %}