]> git.parisson.com Git - telemeta.git/commitdiff
fix epub url
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 28 Jul 2015 21:13:12 +0000 (23:13 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 28 Jul 2015 21:13:19 +0000 (23:13 +0200)
telemeta/templates/telemeta/resource_detail.html

index 8e979cd7d575c892b2ab3d94fd2afbe495537030..043fbfef1592c97f37148ed04c281aa3817ff038 100644 (file)
@@ -58,7 +58,7 @@ jQuery(document).ready(function(){
     </a>
     {% endif %}
     {% if type == 'corpus' and user.is_superuser %}
-    <a id="_export_epub" href="{% url "telemeta-corpus-epub" resource.public_id %}">
+    <a id="_export_epub" href="{% url "telemeta-resource-password-epub" resource.public_id %}">
       <button type="button" class="btn btn-default">
         <span class="glyphicon glyphicon-book"></span> {% trans "Epub" %}
       </button>