Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #987 from darkwing/admin-840207

fix bug 840207 - Add 'view in admin' link to documents
  • Loading branch information...
commit b3ddea5ff1ad9a662c8d4e894791a1885f37dbf5 2 parents e2ed852 + 6667faf
@lmorchard lmorchard authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  apps/wiki/templates/wiki/document.html
View
3  apps/wiki/templates/wiki/document.html
@@ -77,6 +77,9 @@
{% if waffle.flag('page_move') %}
<li><a href="{{ url('wiki.move', document.slug, locale=document.locale) }}">{{ _('Move this page') }}</a></li>
{% endif %}
+ {% if user.is_superuser %}
+ <li><a href="{{ url('admin:wiki_document_change', document.id) }}">{{ _('View in Admin') }}</a></li>
+ {% endif %}
</ul>
</li>
{% if document.is_localizable or document.parent %}
Please sign in to comment.
Something went wrong with that request. Please try again.