]> git.parisson.com Git - telemeta.git/commitdiff
re-add file url but can be overloading for big lists
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 13 Jun 2016 13:06:17 +0000 (15:06 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 13 Jun 2016 13:06:17 +0000 (15:06 +0200)
telemeta/templates/telemeta/lists.html

index 0c2a6ce209adbf019e51ffdf8c6b22fe42587aad..77b9e45924f994cf47bba546ed750b87943953d0 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="#" 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="{% 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>
                     {% endif %}
                 </td>
                 <td style="max-width:200px">