aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_top.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-27 21:31:54 +0100
committermarijus <mario@mariovavti.com>2014-10-27 21:31:54 +0100
commitd192bcad65852bb9225a368d1bf42b8918ae6022 (patch)
treeef0b6312c72e9e4505b30c0a64203ad82ef32e8f /view/tpl/photo_top.tpl
parent6ff795a9f2e66b1b65ffc5e509dc459be5cc96bd (diff)
downloadvolse-hubzilla-d192bcad65852bb9225a368d1bf42b8918ae6022.tar.gz
volse-hubzilla-d192bcad65852bb9225a368d1bf42b8918ae6022.tar.bz2
volse-hubzilla-d192bcad65852bb9225a368d1bf42b8918ae6022.zip
do not reload page for edit album and some minor cleanup
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 ee21e5cce..a86aa7f80 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="{{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}}" />
+ <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}}" />
</a>