Skip to content

Commit

Permalink
TMS-1107: Add caption-text to image-block meta
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Feb 12, 2025
1 parent 1e14fd0 commit 2e4b3e4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- TMS-1107: Add caption-text to image-block meta

## [1.3.3] - 2024-11-25

- TMS-1059: Add Sign up-section to event partial
Expand Down
16 changes: 15 additions & 1 deletion partials/ui/image/image-block__meta.dust
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
<div class="columns image-block__meta pt-2{?author_name} is-reversed{/author_name}">
{?author_name}
<div class="column is-2 has-text-right image-block__author-name has-text-small">
{author_name|s}.
{author_name|html}.
</div>
{/author_name}

{@isset key1=caption key2=image_title_and_artist method="OR" }
<div class="column keep-vertical-spacing image-block__caption">
{?image_title_and_artist}
<strong class="is-block">{image_title_and_artist|html}</strong>
{/image_title_and_artist}

{?caption}
<div class="keep-vertical-spacing">
{caption|kses}
</div>
{/caption}
</div>
{/isset}
</div>

0 comments on commit 2e4b3e4

Please sign in to comment.