From fd8aa54a4ce623d55219b1865e23b93b3b26e265 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 27 Jul 2022 19:10:15 +0200 Subject: Added draft feature --- templates/partials/gallery_card.html | 7 +++++-- templates/partials/grid_card.html | 7 +++++-- templates/partials/list_card.html | 16 +++++++--------- 3 files changed, 17 insertions(+), 13 deletions(-) (limited to 'templates/partials') diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index 3020c2d..e319fa4 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html @@ -30,13 +30,16 @@ $if(it.thumbnail)$ $endif$
- $if(it.subtitle)$ + $if(it.draft)$ + $it.title$ +
Draft
+ $elseif(it.subtitle)$ $it.title$ $it.subtitle$ $elseif(it.category)$ $it.category$ $it.title$ - $elseif(it.last_update)$ + $elseif(it.show_date)$
+ $if(it.draft)$ +
Draft
+ $elseif(it.subtitle)$ + $it.subtitle$ $elseif(it.category)$ - - $it.category$ - - $elseif(it.last_update)$ + $it.category$ + $elseif(it.show_date)$