]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/photo_view.tpl
Merge pull request #5966 from JeroenED/theme/frio/oembed/view-active-class
[friendica.git] / view / theme / frio / templates / photo_view.tpl
index e610926d4cbf3550683f54bcca423c1550821a83..7dc2db901e2f7492ed450a69b0b1688aa916c284 100644 (file)
 
                {{* Tags and mentions *}}
                {{if $tags}}
-               <div id="photo-tags">{{$tags.1}}</div>
+               <div id="photo-tags">{{$tags.title}}
+                       {{foreach $tags.tags as $t}}
+                       <span class="category label btn-success sm">
+                               <span class="p-category">{{$t.name}}</span>
+                               {{if $t.removeurl}} <a href="{{$t.removeurl}}">(X)</a> {{/if}}
+                       </span>
+                       {{/foreach}}
+               </div>
                {{/if}}
 
-               {{if $tags.2}}
+               {{if $tags.removeanyurl}}
                <div id="tag-remove">
-                       <a href="{{$tags.2}}">{{$tags.3}}</a>
+                       <a href="{{$tags.removeanyurl}}">{{$tags.removetitle}}</a>
                </div>
                {{/if}}