From: Guillaume Pellerin Date: Wed, 6 May 2015 21:16:52 +0000 (+0200) Subject: epub only for superuser X-Git-Tag: 1.6a~4^2~88 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6b87b6cda368493a27d6a2f145e9dacae3273b3b;p=telemeta.git epub only for superuser --- diff --git a/telemeta/templates/telemeta/resource_detail.html b/telemeta/templates/telemeta/resource_detail.html index e80d37ac..8e979cd7 100644 --- a/telemeta/templates/telemeta/resource_detail.html +++ b/telemeta/templates/telemeta/resource_detail.html @@ -57,8 +57,8 @@ jQuery(document).ready(function(){ {% endif %} - {% if type == 'corpus' %} - + {% if type == 'corpus' and user.is_superuser %} +