1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-24 14:47:33 +00:00
Altessimo/templates/components/song-table.html

36 lines
1.2 KiB
HTML
Raw Normal View History

2020-12-16 17:36:29 +00:00
<table class="table">
<thead>
<th class="col-1">Branch</th>
<th class="col-4">Song Title</th>
<th>Lyricist</th>
<th>Composer</th>
<th>Arranger</th>
</thead>
<tbody>
{% for song in songs %}
2020-12-17 07:12:26 +00:00
<tr class="song-row branch-{{ song.branch.acronym }}">
2020-12-16 17:36:29 +00:00
<td>
<a href="/taxonomy/branches/{{ song.branch.acronym }}">{{ song.branch.acronym }}</a>
</td>
<td>
<a href="/songs/{{ song.id }}/{{ song.title }}">{{ song.title }}</a>
</td>
<td>
{% for artist in song.lyricist.all %}
<a href="/artists/{{ artist.slug }}">{{ artist.romanized_name }}</a><br/>
{% endfor %}
</td>
<td>
{% for artist in song.composer.all %}
<a href="/artists/{{ artist.slug }}">{{ artist.romanized_name }}</a><br/>
{% endfor %}
</td>
<td>
{% for artist in song.arranger.all %}
<a href="/artists/{{ artist.slug }}">{{ artist.romanized_name }}</a><br/>
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>