Commit 7c2cde2c authored by fred's avatar fred
Browse files

player: display a single m3u link

parent 3d3ab313
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment