Update view/templates/shared_content.tpl

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Raroun 2023-11-19 13:45:32 +01:00 committed by GitHub
parent bcb75d65a3
commit 571f95546a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,12 +24,12 @@
<div class="preferences">
{{if $network_icon && $link}}
<span class="wall-item-network"><a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" target="_blank"><i class="fa fa-{{$network_icon}} fakelink" title="{{$network_name}} - {{$link_title}}" aria-hidden="true"></i></a></span>
{{elseif $link}}
<a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$network_name}} - {{$link_title}}" target="_blank">{{$network_name}}</a>
{{elseif $network_icon}}
<span class="wall-item-network"><i class="fa fa-{{$network_icon}}" title="{{$network_name}}" aria-hidden="true"></i></span>
{{else}}
<span class="wall-item-network" title="{{$app}}">{{$network_name}}</span>
{{elseif $link}}
<a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$network_name}} - {{$link_title}}" target="_blank">{{$network_name}}</a>
{{elseif $network_icon}}
<span class="wall-item-network"><i class="fa fa-{{$network_icon}}" title="{{$network_name}}" aria-hidden="true"></i></span>
{{else}}
<span class="wall-item-network" title="{{$app}}">{{$network_name}}</span>
{{/if}}
</div>
</div>