From ab5e589a8559eda788a619bf76d67b40d6b8db55 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 28 Jul 2022 11:30:55 +0200 Subject: Improved draft badge --- templates/partials/list_card.html | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'templates/partials/list_card.html') diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 0695eed..a89193a 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html @@ -1,4 +1,3 @@ -$if(it.url)$ $if(it.subtitle)$ $it.subtitle$ - $it.title$ +
+ $it.title$ + $if(it.draft)$Draft$endif$ +
$elseif(it.category)$ $it.category$ - $it.title$ +
+ $it.title$ + $if(it.draft)$Draft$endif$ +
$elseif(it.last_update)$ - $it.title$ +
+ $it.title$ + $if(it.draft)$Draft$endif$ +
$else$ $it.title$ + $if(it.draft)$Draft$endif$ $endif$
$it.title$ + $if(it.draft)$Draft$endif$
- $if(it.draft)$ -
Draft
- $elseif(it.subtitle)$ + $if(it.subtitle)$ $it.subtitle$ $elseif(it.category)$ $it.category$ @@ -57,4 +65,3 @@ $if(it.url)$ $endif$
-$endif$ -- cgit v1.2.3-70-g09d2