aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-03 20:44:42 -0800
committerfriendica <info@friendica.com>2014-02-03 20:44:42 -0800
commit1572403e980b013e211de1d317631551dfe5f304 (patch)
tree41f506729cd1e3b4bbf81961023260c93c29e37c /view
parent9ce3dac479672413eed9c42241cc5d4c40349b27 (diff)
downloadvolse-hubzilla-1572403e980b013e211de1d317631551dfe5f304.tar.gz
volse-hubzilla-1572403e980b013e211de1d317631551dfe5f304.tar.bz2
volse-hubzilla-1572403e980b013e211de1d317631551dfe5f304.zip
photo tagging somewhat working - but can't remove photo tags until we update tagrm
Diffstat (limited to 'view')
-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>