]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/includes/player.html
player: display a single m3u link
[panikweb.git] / panikweb / templates / includes / player.html
index 74f7e29f0cb6a8edcb1592f859b1d8167bfb10c5..83214e8faaf95d7324bd800f037b6c6d45389a0b 100644 (file)
@@ -6,7 +6,11 @@
                                <div class="metas custom">
                                         {% for radio_stream in radio_stream_urls %}
                                         {% if radio_stream.m3u_url %}
-                                        <a id="{{radio_stream.id}}-m3u" class="button resymbol icon-download inBlock" title="{% trans 'Get the stream on your player!' %}" href="{{radio_stream.m3u_url}}"></a>
+                                        <a id="{{radio_stream.id}}-m3u"
+                                           {% if not forloop.first %}style="display: none" {% endif %}
+                                           class="button resymbol icon-download inBlock"
+                                           title="{% trans 'Get the stream on your player!' %}"
+                                           href="{{radio_stream.m3u_url}}"></a>
                                         {% endif %}
                                         {% endfor %}
                                </div>