41 lines
848 B
HTML
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 %}
|