summaryrefslogtreecommitdiff
path: root/design/templates/admin/notes/change_form.html
blob: 3d97a4f13bcc223ab1802865c1c36e759eb9e535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 %}