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

index 043fbfef1592c97f37148ed04c281aa3817ff038..01a07f5278d3aeac8332779f5f03ef921717dd51 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-resource-password-epub" resource.public_id %}">
+    <a id="_export_epub" href="{% url "telemeta-resource-password-epub" type resource.public_id %}">
       <button type="button" class="btn btn-default">
         <span class="glyphicon glyphicon-book"></span> {% trans "Epub" %}
       </button>