diff options
| author | Volpeon <git@volpeon.ink> | 2022-07-27 19:10:15 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-07-27 19:10:15 +0200 |
| commit | fd8aa54a4ce623d55219b1865e23b93b3b26e265 (patch) | |
| tree | dc9ae2a4bcbfebe35defaede22e21b9cc1bd08d3 /templates/partials/list_card.html | |
| parent | Updated emojis (diff) | |
| download | volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.tar.gz volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.tar.bz2 volpeon.ink-fd8aa54a4ce623d55219b1865e23b93b3b26e265.zip | |
Added draft feature
Diffstat (limited to 'templates/partials/list_card.html')
| -rw-r--r-- | templates/partials/list_card.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 755686f..0695eed 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
| @@ -36,16 +36,14 @@ $if(it.url)$ | |||
| 36 | </div> | 36 | </div> |
| 37 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> | 37 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> |
| 38 | $it.title$ | 38 | $it.title$ |
| 39 | </div> | 39 | </div> |
| 40 | $if(it.subtitle)$ | 40 | $if(it.draft)$ |
| 41 | <small class="l-media__block u-d-none@sm-lo"> | 41 | <div class="l-media__block u-d-none@sm-lo"><span class="o-badge">Draft</span></div> |
| 42 | $it.subtitle$ | 42 | $elseif(it.subtitle)$ |
| 43 | </small> | 43 | <small class="l-media__block u-d-none@sm-lo">$it.subtitle$</small> |
| 44 | $elseif(it.category)$ | 44 | $elseif(it.category)$ |
| 45 | <small class="l-media__block u-d-none@sm-lo"> | 45 | <small class="l-media__block u-d-none@sm-lo">$it.category$</small> |
| 46 | $it.category$ | 46 | $elseif(it.show_date)$ |
| 47 | </small> | ||
| 48 | $elseif(it.last_update)$ | ||
| 49 | <small class="l-media__block u-d-none@sm-lo"> | 47 | <small class="l-media__block u-d-none@sm-lo"> |
| 50 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> | 48 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> |
| 51 | $it.last_update.short$ | 49 | $it.last_update.short$ |
