diff options
author | luxagraf <sng@luxagraf.net> | 2016-01-27 22:19:51 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-01-27 22:19:51 -0500 |
commit | 81f54d4d9b3edfd440f641aca5408362cefb8319 (patch) | |
tree | d785dd61ae7d11ffea86953b294f7c337c122861 /design/templates/admin/daily/change_form.html | |
parent | ee448528f291199adc38c5316b71944ca07f6dc3 (diff) |
Added auto geolocation features to checkin
Diffstat (limited to 'design/templates/admin/daily/change_form.html')
-rw-r--r-- | design/templates/admin/daily/change_form.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/design/templates/admin/daily/change_form.html b/design/templates/admin/daily/change_form.html new file mode 100644 index 0000000..23c2fb6 --- /dev/null +++ b/design/templates/admin/daily/change_form.html @@ -0,0 +1,15 @@ +{% extends "admin/change_form.html" %} +{% load i18n admin_urls %} +{% 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 %} |