separar las canciones que tienen karaoke en el todo

This commit is contained in:
Ales (Shagi) Zabala Alava 2020-04-27 18:42:50 +02:00
parent 2104f841c2
commit 7007196c50
1 changed files with 16 additions and 16 deletions

View File

@ -21,20 +21,20 @@
</table> </table>
<h2>Publicadas</h2> <h2>Publicadas</h2>
<table> <h3>Karaoke</h3>
<thead> <ul>
<tr> {% for song in songs %}
<th>Canción</th> {% if song.metadata.karaoke %}
<th>Karaoke</th> <li>{{ song.name }}</li>
</tr> {% endif %}
</thead> {% endfor %}
<tbody> </ul>
{% for song in songs %} <h3>SIN Karaoke</h3>
<tr> <ul>
<td>{{ song.name }}</td> {% for song in songs %}
<td>{{ song.metadata.karaoke|display_boolean }}</td> {% if not song.metadata.karaoke %}
</tr> <li>{{ song.name }}</li>
{% endfor %} {% endif %}
</tbody> {% endfor %}
</table> </ul>
{% endblock %} {% endblock %}