separar las canciones que tienen karaoke en el todo
This commit is contained in:
		
							parent
							
								
									2104f841c2
								
							
						
					
					
						commit
						7007196c50
					
				| 
						 | 
				
			
			@ -21,20 +21,20 @@
 | 
			
		|||
</table>
 | 
			
		||||
 | 
			
		||||
<h2>Publicadas</h2>
 | 
			
		||||
<table>
 | 
			
		||||
    <thead>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <th>Canción</th>
 | 
			
		||||
            <th>Karaoke</th>
 | 
			
		||||
        </tr>
 | 
			
		||||
    </thead>
 | 
			
		||||
    <tbody>
 | 
			
		||||
<h3>Karaoke</h3>
 | 
			
		||||
<ul>
 | 
			
		||||
    {% for song in songs %}
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td>{{ song.name }}</td>
 | 
			
		||||
            <td>{{ song.metadata.karaoke|display_boolean }}</td>
 | 
			
		||||
        </tr>
 | 
			
		||||
    {% if song.metadata.karaoke %}
 | 
			
		||||
    <li>{{ song.name }}</li>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
    </tbody>
 | 
			
		||||
</table>
 | 
			
		||||
</ul>
 | 
			
		||||
<h3>SIN Karaoke</h3>
 | 
			
		||||
<ul>
 | 
			
		||||
    {% for song in songs %}
 | 
			
		||||
    {% if not song.metadata.karaoke %}
 | 
			
		||||
    <li>{{ song.name }}</li>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
</ul>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue