~ivan-zderadicka/mybookshelf/trunk

« back to all changes in this revision

Viewing changes to ebook/templates/ebook/source_detail.html

  • Committer: ivan-zderadicka
  • Date: 2012-07-23 14:23:06 UTC
  • Revision ID: ivan-zderadicka-20120723142306-ocw7jx04p38yd01t
Links to admin site for superusers

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
{%if perms.ebook.can_download and conv_formats%}
76
76
{%block sidebar%}
77
77
{%include "ebook/conv_sidebar.html"%}
 
78
{%if request.user.is_staff%}
 
79
<h3 ><span>Admin Links</span></h3>
 
80
{%load ebook_tags%}
 
81
<a href="{%admin_url ebook.views.show_source_detail object.id%}" target="_blank">Admin - Source Detail</a></br>
 
82
{%endif%}
78
83
{%endblock%}
79
84
{%endif%}