aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_top.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-03 03:35:50 -0700
committerfriendica <info@friendica.com>2014-10-03 03:35:50 -0700
commit328d72971d6cb73176f17c3403ddfb150ae217c3 (patch)
treeb23db2b8c6bf6b97417c5b2ee68469a7833b60d0 /view/tpl/photo_top.tpl
parent2bd4b362389aafc9d98f47f44672fc874d37e17a (diff)
parentdfd39ebb3cccfdce8fb6d58128279cac05cbb8e4 (diff)
downloadvolse-hubzilla-328d72971d6cb73176f17c3403ddfb150ae217c3.tar.gz
volse-hubzilla-328d72971d6cb73176f17c3403ddfb150ae217c3.tar.bz2
volse-hubzilla-328d72971d6cb73176f17c3403ddfb150ae217c3.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl/photo_top.tpl')
-rwxr-xr-xview/tpl/photo_top.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_top.tpl b/view/tpl/photo_top.tpl
index 4a106c30d..ee21e5cce 100755
--- a/view/tpl/photo_top.tpl
+++ b/view/tpl/photo_top.tpl
@@ -1,4 +1,4 @@
<a href="{{$photo.link}}" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}">
- <img src="{{$photo.src}}" alt="{{$photo.album.name}}" title="{{$photo.title}}" id="photo-top-photo-{{$photo.id}}" />
+ <img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{else}}{{$photo.alt}}{{/if}}" title="{{$photo.title}}" id="photo-top-photo-{{$photo.id}}" />
</a>