]> git.parisson.com Git - telemeta.git/commitdiff
use public_id
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 13 Jun 2016 14:38:19 +0000 (16:38 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 13 Jun 2016 14:38:19 +0000 (16:38 +0200)
telemeta/templates/telemeta/lists.html

index 7fd48e068ca1663c89628e1db14989a67a660296..2d85087a62c005b01c62a142b54f3fe15481c310 100644 (file)
             <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
                 <td align="center" style="vertical-align:middle;">
                     {% if resource.element.file %}
-                    <a href="#" id="{% url 'telemeta-item-export' resource.element.public_id 'mp3' %}" onclick="playlistUtils.changeGlyph(this.id)" class="glyphicon glyphicon-play" style="font-size: 1.3em;text-decoration: none"><p style="opacity:0;font-size:0">d</p></a>
+                    <a href="#" id="{{ resource.public_id }}" onclick="playlistUtils.changeGlyph(this.id)" class="glyphicon glyphicon-play" style="font-size: 1.3em;text-decoration: none"><p style="opacity:0;font-size:0">d</p></a>
                     {% endif %}
                 </td>
                 <td style="max-width:200px">