From e8595ded1db7a61e60d21747430b0232e6b29697 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Thu, 21 Apr 2022 13:19:51 +0000 Subject: [PATCH] fix draft icon --- fet2020/templates/gallery/album.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fet2020/templates/gallery/album.html b/fet2020/templates/gallery/album.html index 5caadcbf..5d3191c5 100644 --- a/fet2020/templates/gallery/album.html +++ b/fet2020/templates/gallery/album.html @@ -25,7 +25,11 @@ {% endif %}
-

{{ album.title }}

+ {% if album.status == album.DRAFT %} +

{{ album.title }}

+ {% else %} +

{{ album.title }}

+ {% endif %} {% if album.photographer %} {{ album.photographer }} {% endif %} @@ -33,9 +37,6 @@ {{ album.event_date }} {% endif %} Gußhaus 27 - 1040, Wien - {% if album.status == album.DRAFT %} - DRAFT
- {% endif %} {% if album.description %}

{{ album.description|safe }}