summaryrefslogtreecommitdiff
path: root/design/templates/admin/notes
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/admin/notes')
-rw-r--r--design/templates/admin/notes/change_form.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/design/templates/admin/notes/change_form.html b/design/templates/admin/notes/change_form.html
new file mode 100644
index 0000000..3d97a4f
--- /dev/null
+++ b/design/templates/admin/notes/change_form.html
@@ -0,0 +1,19 @@
+{% extends "admin/change_form.html" %}
+{% load i18n admin_urls %}
+{% block content %}
+ <a class="btn" onclick="geoFindMe();" href="javascript:void(0);" class="historylink">Get Location</a>
+ {{block.super}}
+{% endblock %}
+{% block object-tools-items %}
+ <li>
+ <a onclick="geoFindMe();" href="javascript:void(0);" class="historylink">Get Location</a>
+ </li>
+ <li>
+ <a href="{% url opts|admin_urlname:'history' original.pk|admin_urlquote %}" class="historylink">{% trans "History" %}</a>
+ </li>
+ {% if has_absolute_url %}
+ <li>
+ <a href="{% url 'admin:view_on_site' content_type_id original.pk %}" class="viewsitelink">{% trans "View on site" %}</a>
+ </li>
+ {% endif %}
+{% endblock %}