Commit 50d1efe9 authored by SeeBeyond's avatar SeeBeyond

Add user link, remove last ',' in playlist detail

parent 7f25ead5
......@@ -49,7 +49,10 @@
{% set charters = [] %}
{% for song in playlist.songs %}
{% if song.charter not in charters %}
{{ song.charter }}, 
{% if loop.index == 1 %}
<a href="{{ path('user.detail', {userId: song.charter.id}) }}">{{ song.charter }}</a>
{% endif %}
,&#32<a href="{{ path('user.detail', {userId: song.charter.id}) }}">{{ song.charter }}</a>
{% set charters = charters|merge([song.charter]) %}
{% endif %}
{% endfor %}
......
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