Add comment-related admin templates.
[matthijs/projects/xerxes.git] / templates / admin / influences / influence / change_form.html
diff --git a/templates/admin/influences/influence/change_form.html b/templates/admin/influences/influence/change_form.html
new file mode 100644 (file)
index 0000000..7d1a794
--- /dev/null
@@ -0,0 +1,11 @@
+{% extends "admin/change_form.html" %}
+{% load i18n %}
+
+{% block object-tools %}
+{% if change %}{% if not is_popup %}
+  <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li>
+  <li><a href="comments/" class="commentslink">{% trans "Comments" %}</a></li>
+  {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
+  </ul>
+{% endif %}{% endif %}
+{% endblock %}