Ticket #15931: admin__change_form.html.diff

File admin__change_form.html.diff, 685 bytes (added by David Chandek-Stark, 13 years ago)
  • change_form.html

     
    2929  <ul class="object-tools">
    3030    {% block object-tools-items %}
    3131    <li><a href="history/" class="historylink">{% trans "History" %}</a></li>
    32     {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
     32    {% if has_absolute_url %}<li><a href="{{ original.get_absolute_url }}" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
    3333    {% endblock %}
    3434  </ul>
    3535{% endif %}{% endif %}
Back to Top