Update shared_content.tpl

Added new behavior here too
This commit is contained in:
Raroun 2023-11-19 09:50:30 +01:00 committed by GitHub
parent dcd47c391c
commit 98f99c536e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,16 +22,15 @@
</p> </p>
</div> </div>
<div class="preferences"> <div class="preferences">
{{if $network_icon}} {{if $network_icon && $link}}
<span class="wall-item-network"><i class="fa fa-{{$network_icon}}" title="{{$network_name}}" aria-hidden="true"></i></span> <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>
{{else}} {{elseif $link}}
<span class="wall-item-network">{{$network_name}}</span> <a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$network_name}} - {{$link_title}}" target="_blank">{{$network_name}}</a>
{{/if}} {{elseif $network_icon}}
{{if $link}} <span class="wall-item-network"><i class="fa fa-{{$network_icon}}" title="{{$network_name}}" aria-hidden="true"></i></span>
<a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$link_title}}"> {{else}}
<i class="fa fa-external-link"></i> <span class="wall-item-network" title="{{$app}}">{{$network_name}}</span>
</a> {{/if}}
{{/if}}
</div> </div>
</div> </div>
<blockquote class="shared_content" dir="auto">{{$content nofilter}}</blockquote> <blockquote class="shared_content" dir="auto">{{$content nofilter}}</blockquote>