~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/admin/wiki/article/change_form.html

  • Committer: franku
  • Date: 2016-12-18 19:34:07 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: somal@arcor.de-20161218193407-t5f3yrz7cukn66nj
Added a link from admin page wiki.article to related changesets

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "admin/change_form.html" %}
 
2
{% load i18n admin_urls %}
 
3
 
 
4
{% block object-tools-items %}
 
5
    <li>
 
6
        <a href="/admin/wiki/changeset/?article__title={{ original.title }}" class="historylink">{% trans "Changesets" %}</a>
 
7
    </li>
 
8
    {% if has_absolute_url %}<li><a href="{{ absolute_url }}" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif %}
 
9
{% endblock %}