From 41058ccc9ee6c1d32fb867b98b273bdda579c713 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 21 Dec 2019 01:48:36 -0800 Subject: [PATCH] Unindent album card macro. --- .../etiquette_flask/templates/album_card.html | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/frontends/etiquette_flask/templates/album_card.html b/frontends/etiquette_flask/templates/album_card.html index 0c74215..4ca2d77 100644 --- a/frontends/etiquette_flask/templates/album_card.html +++ b/frontends/etiquette_flask/templates/album_card.html @@ -1,44 +1,44 @@ {% macro create_album_card(album, view="grid", unlink_parent=none) %} {% set view = (view if view in ("list", "grid") else "grid") %} {% set viewparam = "?view=list" if view == "list" else "" %} -
- {% if album == "root" %} - - {% else %} - +
+ {% if album == "root" %} + + {% else %} + + {% endif %} + +
+ {% if unlink_parent is not none %} + {% endif %} - -
- {% if unlink_parent is not none %} - - {% endif %} -
- -
- {% if album == "root" %} - Albums - {% else %} - {{album.display_name}} - {% endif %} -
- -
+ +
+ {% if album == "root" %} + Albums + {% else %} + {{album.display_name}} + {% endif %} +
+ + +
{% endmacro %}