From 8a83a239d16e37102e191745a727d73d75eea0ab Mon Sep 17 00:00:00 2001 From: Shgck Date: Sun, 23 Aug 2015 12:38:22 +0200 Subject: [PATCH] Move releases on artist page under the right column --- label/templates/label/artist.html | 42 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/label/templates/label/artist.html b/label/templates/label/artist.html index a5b626c..ee1123b 100644 --- a/label/templates/label/artist.html +++ b/label/templates/label/artist.html @@ -60,29 +60,27 @@ {% endautoescape %} {% endif %} + + {% if releases %} + + {% for release in releases %} + + + + + {% endfor %} +
+ {{ release.year }} + + {{ release.title }} + {% if release.release_type == 1 %}(EP){% endif %} + {% if release.release_type == 2 %}(Split){% endif %} + {% if release.release_type == 3 %}(Demo){% endif %} +
+ {% endif %} + - -{% if releases %} -

Releases

- - {% for release in releases %} - - - - - {% endfor %} -
- {{ release.year }} - - {{ release.title }} - {% if release.release_type == 1 %}(EP){% endif %} - {% if release.release_type == 2 %}(Split){% endif %} - {% if release.release_type == 3 %}(Demo){% endif %} -
-{% endif %} - - -{% endblock %} \ No newline at end of file +{% endblock %}