Fixed issue #133 (recent Actions links have an unecessary /admin/ prefix)

This commit is contained in:
David Jean Louis 2014-03-26 10:16:52 +00:00
parent f1f5ee0308
commit b350755fe2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
{% if child.is_deletion %}
<span class="deletelink">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</span>
{% else %}
<a href="{{ admin_url }}{{ child.get_admin_url }}" class="{% if child.is_addition %} addlink{% endif %}{% if child.is_change %} changelink{% endif %}">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</a>
<a href="{{ child.get_admin_url }}" class="{% if child.is_addition %} addlink{% endif %}{% if child.is_change %} changelink{% endif %}">{% if child.content_type %}{% filter capfirst %}{% trans child.content_type.name %}{% endfilter %}&nbsp;{% endif %}{{ child.object_repr }}</a>
{% endif %}
</li>
{% endfor %}