Permalink
Browse files

Added a send button to the change form. Change contributed by philipp…

…bosch.
  • Loading branch information...
1 parent be1d1af commit 5b7d7b9e267b0d9f81a4d50eca87a349eb9cd6bd @arneb arneb committed May 8, 2009
Showing with 11 additions and 0 deletions.
  1. +11 −0 campaign/templates/admin/campaign/campaign/change_form.html
@@ -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>
+ {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
+ <li><a href="send/">{% trans "Send" %}</a></li>
+ </ul>
+{% endif %}{% endif %}
+{% endblock %}

0 comments on commit 5b7d7b9

Please sign in to comment.