1
0
Fork 0
IdreXyz/label/templates/label/releases.html
2016-02-02 18:30:43 +01:00

41 lines
848 B
HTML

{% extends "base.html" %}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" href="{% static 'css/releases.css' %}" />
{% endblock %}
{% block content %}
<table id="releases">
{% for release in releases %}
<tr class="release">
<td>
{{ release.tag }}
</td>
<td>
{% for contrib in release.contribs %}
<a href="{% url 'artist' contrib.slug %}">{{ contrib.name }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
<td>
<a href="{% url 'release' release.tag|lower %}">{{ release.title }}</a>
{% if release.release_type == 1 %}(EP){% endif %}
{% if release.release_type == 2 %}(Split){% endif %}
{% if release.release_type == 3 %}(Demo){% endif %}
</td>
<td>
{{ release.year }}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}