]> git.mxchange.org Git - friendica.git/commitdiff
Update view/theme/frio/templates/wall_thread.tpl
authorRaroun <Raroun@users.noreply.github.com>
Mon, 13 Nov 2023 18:04:13 +0000 (19:04 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Nov 2023 18:04:13 +0000 (19:04 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
view/theme/frio/templates/wall_thread.tpl

index 74254d2a75477af2e9e6cbd29ff0555f26550e87..f63a8a478aeb9fbb5c1478a2d05d337142a62eaa 100644 (file)
@@ -125,17 +125,15 @@ as the value of $top_child_total (this is done at the end of this file)
                {{* contact info header*}}
                <div class="contact-info">
                        <div class="preferences">
-                               {{if $item.network_icon != "" && $item.plink}}
+                               {{if $item.network_icon && $item.plink}}
                                        <span class="wall-item-network"><a href="{{$item.plink.href}}" class="plink u-url" aria-label="{{$item.plink.title}}" target="_blank"><i class="fa fa-{{$item.network_icon}} fakelink" title="{{$item.network_name}} - {{$item.plink.title}}" aria-hidden="true"></i></a></span>
-                               {{else}
-                                       {{if $item.plink}}
-                                                       <a href="{{$item.plink.href}}" class="plink u-url" aria-label="{{$item.plink.title}}" title="{{$item.network_name}} - {{$item.plink.title}}" target="_blank">{{$item.network_name}}</a>
-                                       {{elseif $item.network_icon != ""}}
-                                                       <span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
-                                       {{else}}
-                                               <span class="wall-item-network" title="{{$item.app}}">{{$item.network_name}}</span>
-                                       {{/if}}
-                               {{/if}}
+                               {{elseif $item.plink}}
+                                               <a href="{{$item.plink.href}}" class="plink u-url" aria-label="{{$item.plink.title}}" title="{{$item.network_name}} - {{$item.plink.title}}" target="_blank">{{$item.network_name}}</a>
+                               {{elseif $item.network_icon}}
+                                               <span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
+                               {{else}}
+                                       <span class="wall-item-network" title="{{$item.app}}">{{$item.network_name}}</span>
+                               {{/if}}
                        </div>
                {{if $item.thread_level==1}}
                        <div class="hidden-sm hidden-xs media-body"><!-- <= For computer -->