]> git.parisson.com Git - telemeta.git/commitdiff
fix item file url for tiny player
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 20 May 2016 16:29:37 +0000 (18:29 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 20 May 2016 16:29:37 +0000 (18:29 +0200)
telemeta/locale
telemeta/pages
telemeta/templates/telemeta/lists.html

index c043261bbe26298e2bea3ddb028332c78c9a6107..ea6605ad78243d798d88f1ffc46c8f6bc507ce11 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c043261bbe26298e2bea3ddb028332c78c9a6107
+Subproject commit ea6605ad78243d798d88f1ffc46c8f6bc507ce11
index c2a0f19625f44ab2c3050b7784382ac7eb6939b0..939124a09a6f231540105d2010b57a2cbd184670 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c2a0f19625f44ab2c3050b7784382ac7eb6939b0
+Subproject commit 939124a09a6f231540105d2010b57a2cbd184670
index fce91cbfad04679f933089ab74119ed74e1336c7..4cd58b06906726509e188148e9c055ddbc756676 100644 (file)
         <table id="{{playlist.playlist.public_id}}tb" class="listing" width="100%">
             <thead>
             <tr>
-                <th class="highlight" style="max-width:200px">{% trans "Title" %}</th>
+                <th class="highlight" style="max-width:200px;">{% trans "Title" %}</th>
                 <th>{% trans "Type" %}</th>
                 <th style="max-width:200px">{% trans "Code" %}</th>
                 <th>{% trans "Recordist" %}</th>
                 </td>
                 <td align="center" style="vertical-align:middle;">
                     {% if resource.element.file or resource.element.has_mediafile %}
-                        <a id="{{resource.element.file}}" onclick="playlistUtils.loadSong(this.id)">
+                        <a href="#" id="{% url 'telemeta-item-export' resource.element.public_id 'mp3' %}" onclick="playlistUtils.loadSong(this.id)">
                             <span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"><p style="opacity:0;font-size:0">d</p></span>
                         </a>
                     {% endif %}