diff options
author | Mario <mario@mariovavti.com> | 2022-07-26 18:00:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-07-26 18:00:00 +0000 |
commit | 40377796edd8c612ce9d68f52fc146ad32302f9e (patch) | |
tree | 92cce4a3ee3627ed28f45ce8f0bb3598be87c8c9 /view/tpl/channel_activities_photos.tpl | |
parent | c452a621fe7db5405d929ebc5f5433c9670fc367 (diff) | |
parent | fedad7f31a1b9133bfd63de7fc19de6916485254 (diff) | |
download | volse-hubzilla-40377796edd8c612ce9d68f52fc146ad32302f9e.tar.gz volse-hubzilla-40377796edd8c612ce9d68f52fc146ad32302f9e.tar.bz2 volse-hubzilla-40377796edd8c612ce9d68f52fc146ad32302f9e.zip |
Merge branch '7.6RC'7.6
Diffstat (limited to 'view/tpl/channel_activities_photos.tpl')
-rw-r--r-- | view/tpl/channel_activities_photos.tpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/view/tpl/channel_activities_photos.tpl b/view/tpl/channel_activities_photos.tpl new file mode 100644 index 000000000..b0079f382 --- /dev/null +++ b/view/tpl/channel_activities_photos.tpl @@ -0,0 +1,19 @@ +<div class="mb-1 text-uppercase"> + <a href="{{$url}}"><i class="fa fa-fw fa-{{$icon}} generic-icons-nav"></i>{{$label}}</a> +</div> +<div id="photo-album" class="mb-4"> + {{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> + </a> + {{/foreach}} +</div> +<script> + $('#photo-album').justifiedGallery({ + border: 0, + margins: 3, + maxRowsCount: 1, + waitThumbnailsLoad: false + }); +</script> |