85 lines
1.7 KiB
HTML
85 lines
1.7 KiB
HTML
{% extends "base.html" %}
|
|
{% load static %}
|
|
|
|
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" href="{% static 'label/css/artist.css' %}" />
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ artist.name }}</h1>
|
|
|
|
<table id="infos"><tr>
|
|
<td id="left">
|
|
|
|
<p>
|
|
<img src="{{ MEDIA_URL }}{{ artist.image }}"
|
|
alt="{{ artist.name }}"
|
|
class="logo" />
|
|
</p>
|
|
|
|
</td>
|
|
|
|
<td id="right">
|
|
|
|
{% if artist.url_bandcamp or artist.url_soundcloud %}
|
|
<p>
|
|
{% if artist.url_bandcamp %}
|
|
<a href="{{ artist.url_bandcamp }}">
|
|
<img src="{% static 'img/bandcamp_logo.png' %}"
|
|
alt=""
|
|
class="minilogo grayscale" />
|
|
bandcamp
|
|
</a>
|
|
<br />
|
|
{% endif %}
|
|
{% if artist.url_soundcloud %}
|
|
<a href="{{ artist.url_soundcloud }}">
|
|
<img src="{% static 'img/soundcloud_logo.png' %}"
|
|
alt=""
|
|
class="minilogo grayscale" />
|
|
soundcloud
|
|
</a>
|
|
{% endif %}
|
|
</p>
|
|
{% endif %}
|
|
|
|
|
|
{% if artist.genre %}
|
|
<p>{{ artist.name }} plays {{ artist.genre }}.</p>
|
|
{% endif %}
|
|
|
|
|
|
{% if artist.description %}
|
|
{% autoescape off %}
|
|
{{ artist.description }}
|
|
{% endautoescape %}
|
|
{% endif %}
|
|
|
|
|
|
{% if releases %}
|
|
<table id="releases">
|
|
{% for release in releases %}
|
|
<tr class="release">
|
|
<td>
|
|
{{ release.year }}
|
|
</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>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
{% endblock %}
|