diff options
Diffstat (limited to 'templates/partials/gallery_card.html')
| -rw-r--r-- | templates/partials/gallery_card.html | 7 |
1 files changed, 5 insertions, 2 deletions
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)$ | |||
| 30 | </svg> | 30 | </svg> |
| 31 | $endif$ | 31 | $endif$ |
| 32 | <div class="l-media__block l-media__block--main"> | 32 | <div class="l-media__block l-media__block--main"> |
| 33 | $if(it.subtitle)$ | 33 | $if(it.draft)$ |
| 34 | <strong class="u-d-block">$it.title$</strong> | ||
| 35 | <div><span class="o-badge">Draft</span></div> | ||
| 36 | $elseif(it.subtitle)$ | ||
| 34 | <strong class="u-d-block">$it.title$</strong> | 37 | <strong class="u-d-block">$it.title$</strong> |
| 35 | <small class="u-d-block">$it.subtitle$</small> | 38 | <small class="u-d-block">$it.subtitle$</small> |
| 36 | $elseif(it.category)$ | 39 | $elseif(it.category)$ |
| 37 | <small class="u-d-block">$it.category$</small> | 40 | <small class="u-d-block">$it.category$</small> |
| 38 | <strong class="u-d-block">$it.title$</strong> | 41 | <strong class="u-d-block">$it.title$</strong> |
| 39 | $elseif(it.last_update)$ | 42 | $elseif(it.show_date)$ |
| 40 | <small class="u-d-block"> | 43 | <small class="u-d-block"> |
| 41 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> | 44 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> |
| 42 | $it.last_update.long$ | 45 | $it.last_update.long$ |
