diff options
author | luxagraf <sng@luxagraf.net> | 2016-02-08 12:53:07 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-02-08 12:53:07 -0500 |
commit | fdb951576ff642d160bd66cba82179fa2ca247d7 (patch) | |
tree | d9889ac6951f48f475ee88718da8e7f4afb8a345 /design/templates/admin/notes/change_form.html | |
parent | 34df0f81d9a4480eb33c77a22879218e35fa0b49 (diff) |
redid notes to make them self-contained and local
Diffstat (limited to 'design/templates/admin/notes/change_form.html')
-rw-r--r-- | design/templates/admin/notes/change_form.html | 19 |
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 %} |