]> git.mxchange.org Git - friendica.git/commitdiff
add links to cat.url
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Nov 2019 14:55:58 +0000 (15:55 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Nov 2019 14:55:58 +0000 (15:55 +0100)
view/templates/wall_thread.tpl
view/theme/frio/templates/wall_thread.tpl
view/theme/quattro/templates/wall_thread.tpl
view/theme/smoothly/templates/wall_thread.tpl
view/theme/vier/templates/wall_thread.tpl

index 01cd7559f188fe57f6982c0a4104084f89827b21..a4834062c02070c755653506a859023b83bbbf3d 100644 (file)
@@ -64,7 +64,7 @@
                        {{/if}}
                        </div>
                        {{if $item.has_cats}}
-                       <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category">{{$cat.name}}</span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category"><a href="{{$cat.url}}">{{$cat.name}}</a></span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
                        </div>
                        {{/if}}
 
index 631aad3be22bcdc4740a5e5837d0b5acedc227be..9d8d47355c04cc21753ab5ea21d588dc21b41e2f 100644 (file)
@@ -313,7 +313,7 @@ as the value of $top_child_total (this is done at the end of this file)
                        {{/foreach}}
 
                        {{foreach $item.categories as $cat}}
-                               <span class="category label btn-success sm p-category">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
+                               <span class="category label btn-success sm p-category"><a href="{{$cat.url}}">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
                        {{/foreach}}
                        </div>
                        {{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
index a80aabf4b47202b8c2d1e1d76138f11f829d317d..bfb903c7b81d6b465d288008f75324a80f7c6b1b 100644 (file)
@@ -72,7 +72,7 @@
                                <span class="folder p-category">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
                        {{/foreach}}
                        {{foreach $item.categories as $cat}}
-                               <span class="category p-category">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
+                               <span class="category p-category"><a href="{{$cat.url}}">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
                        {{/foreach}}
                {{/if}}
                </div>
index 08ff557670e9a12edbba650b6f6e3f7751d468e3..a4616d9c4ceeeba6711155bc1f7c97d34dec8fe2 100644 (file)
@@ -72,7 +72,7 @@
                                </div>
 
                                {{if $item.has_cats}}
-                               <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category">{{$cat.name}}</span>
+                               <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category"><a href="{{$cat.url}}">{{$cat.name}}</a></span>
                                <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>
                                {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
                                </div>
index 37e01f75a40898465eb28d25410c15b7cc0755f1..eb9c2fe5759f4eb6dac0fd3cd692f14a84056580 100644 (file)
@@ -89,7 +89,7 @@
                                <span class="folder p-category">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
                        {{/foreach}}
                        {{foreach $item.categories as $cat}}
-                               <span class="category p-category">{{$cat.name}}{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
+                               <span class="category p-category"><a href="{{$cat.url}}">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
                        {{/foreach}}
                </div>
        </div>