From: Matthijs Kooijman Date: Tue, 4 Nov 2008 10:55:33 +0000 (+0100) Subject: Add comment-related admin templates. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=856e51ec1881c3864d2beee27e8fc66cf3918c4f;p=matthijs%2Fprojects%2Fxerxes.git Add comment-related admin templates. The change_form template adds a "comment" link to the influence admin page, the comments template provides the content for that page. --- diff --git a/templates/admin/influences/influence/change_form.html b/templates/admin/influences/influence/change_form.html new file mode 100644 index 0000000..7d1a794 --- /dev/null +++ b/templates/admin/influences/influence/change_form.html @@ -0,0 +1,11 @@ +{% extends "admin/change_form.html" %} +{% load i18n %} + +{% block object-tools %} +{% if change %}{% if not is_popup %} + +{% endif %}{% endif %} +{% endblock %} diff --git a/templates/admin/influences/influence/comments.html b/templates/admin/influences/influence/comments.html new file mode 100644 index 0000000..f5343e6 --- /dev/null +++ b/templates/admin/influences/influence/comments.html @@ -0,0 +1,26 @@ +{% extends "admin/base_site.html" %} +{% load i18n %} + +{% block extrahead %}{{ block.super }} +{{ media }} +{% endblock %} + +{% block breadcrumbs %} + +{% endblock %} + +{% block content %} +
+
+{% block comments %} +{% include "influences/influence_comments_block.html" %} +{% endblock %} +
+
+{% endblock %}