Combine network information with link to original post

This commit is contained in:
Michael 2020-02-18 19:46:37 +00:00
parent efddd248f7
commit 3699b3bfea
1 changed files with 3 additions and 10 deletions

View File

@ -209,17 +209,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{/if}}
<div class="preferences">
{{if $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 $item.plink}} {{*link to the original source of the item *}}
&nbsp;
<a href="{{$item.plink.href}}" class="plink u-url" aria-label="{{$item.plink.title}}" title="{{$item.plink.title}}">
<i class="fa fa-external-link"></i>
{{*link to the original source of the item *}}
<a href="{{$item.plink.href}}" class="plink u-url" aria-label="{{$item.plink.title}}">
<span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
</a>
{{/if}}
</div>
<div class="clearfix"></div>