aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_view.tpl
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-02-04 16:19:35 +0100
committermarijus <mario@localhost.localdomain>2014-02-04 16:19:35 +0100
commit4253581733d4c6c7f0dce5c3ea7566c6af4af936 (patch)
tree1eadff45b06adcac3f93432beea63b7ccd7391ff /view/tpl/photo_view.tpl
parent2a9baa1f325b62541ad7a7b68e91455b104677bd (diff)
parent74298c44ae445125bfc2b13d20da91b9d349ce43 (diff)
downloadvolse-hubzilla-4253581733d4c6c7f0dce5c3ea7566c6af4af936.tar.gz
volse-hubzilla-4253581733d4c6c7f0dce5c3ea7566c6af4af936.tar.bz2
volse-hubzilla-4253581733d4c6c7f0dce5c3ea7566c6af4af936.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/tpl/photo_view.tpl')
-rwxr-xr-xview/tpl/photo_view.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 93e9abfa5..8c19d39d7 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -14,10 +14,12 @@
<div id="photo-photo-end"></div>
<div id="photo-caption">{{$desc}}</div>
{{if $tags}}
-<div id="in-this-photo-text">{{$tags.0}}</div>
-<div id="in-this-photo">{{$tags.1}}</div>
+<div id="in-this-photo-text">{{$tag_hdr}}</div>
+{{foreach $tags as $t}}
+<div id="in-this-photo">{{$t.0}}</div>
+{{if $edit}}<div id="tag-remove"><a href="{{$t.1}}">{{$t.2}}</a></div>{{/if}}
+{{/foreach}}
{{/if}}
-{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
{{if $edit}}
<div id="photo-edit-edit-wrapper" class="fakelink" onclick="openClose('photo-edit-edit');">{{$edit.edit}}</div>