aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-05 09:50:55 +0000
committerMario <mario@mariovavti.com>2022-11-05 09:50:55 +0000
commit7fc9c83986d0ca0707c408b77f2acfb954532c42 (patch)
treef65e899b792ef86f99539b06232e5baf2fe80714 /view/tpl
parent81b02d04b5c486ed5b23467b25e1441ed6d37da9 (diff)
parent5502f1cc63d87bed8198d360ae0e8e7c5fa58f44 (diff)
downloadvolse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.gz
volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.bz2
volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.zip
Merge branch 'dev'
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/channel_activities_photos.tpl2
-rw-r--r--view/tpl/photo_top.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/channel_activities_photos.tpl b/view/tpl/channel_activities_photos.tpl
index b0079f382..cba157627 100644
--- a/view/tpl/channel_activities_photos.tpl
+++ b/view/tpl/channel_activities_photos.tpl
@@ -5,7 +5,7 @@
{{foreach $items as $i}}
<a href="{{$i.url}}" title="{{$i.alt}}">
<img src="{{$i.src}}" width="{{$i.width}}" height="{{$i.height}}" alt="{{$i.alt}}">
- <div class='jg-caption autotime' title="{{$i.edited}}"></div>
+ <div class='jg-caption rounded text-truncate autotime' title="{{$i.edited}}"></div>
</a>
{{/foreach}}
</div>
diff --git a/view/tpl/photo_top.tpl b/view/tpl/photo_top.tpl
index 16862a8d6..1cfcc7aa3 100644
--- a/view/tpl/photo_top.tpl
+++ b/view/tpl/photo_top.tpl
@@ -1,4 +1,5 @@
<a href="{{$photo.link}}" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}">
<img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" id="photo-top-photo-{{$photo.id}}" loading="lazy" />
+ <div class="jg-caption rounded text-truncate">{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}</div>
</a>