mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:03:41 +00:00
Merge pull request #13633 from Raroun/FR#13624_Frio_Combine_Link_to_Source_with_Platform_icon_in_post_view
[frio]: Combine Link to Source with Platform icon in post view
This commit is contained in:
commit
64cdb6ee80
1 changed files with 37 additions and 33 deletions
|
@ -125,16 +125,15 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
{{* contact info header*}}
|
{{* contact info header*}}
|
||||||
<div class="contact-info">
|
<div class="contact-info">
|
||||||
<div class="preferences">
|
<div class="preferences">
|
||||||
{{if $item.network_icon != ""}}
|
{{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>
|
||||||
|
{{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>
|
<span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="wall-item-network" title="{{$item.app}}">{{$item.network_name}}</span>
|
<span class="wall-item-network" title="{{$item.app}}">{{$item.network_name}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.plink}} {{*link to the original source of the item *}}
|
|
||||||
<a href="{{$item.plink.href}}" class="plink u-url" aria-label="{{$item.plink.title}}" title="{{$item.plink.title}}" target="_blank">
|
|
||||||
<i class="fa fa-external-link"></i>
|
|
||||||
</a>
|
|
||||||
{{/if}}
|
|
||||||
</div>
|
</div>
|
||||||
{{if $item.thread_level==1}}
|
{{if $item.thread_level==1}}
|
||||||
<div class="hidden-sm hidden-xs media-body"><!-- <= For computer -->
|
<div class="hidden-sm hidden-xs media-body"><!-- <= For computer -->
|
||||||
|
@ -148,13 +147,6 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
<span class="wall-item-name {{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span>
|
<span class="wall-item-name {{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span>
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{if $item.connector}}
|
|
||||||
<small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
|
|
||||||
{{else}}
|
|
||||||
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
|
|
||||||
<small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
|
|
||||||
</span>
|
|
||||||
{{/if}}
|
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
<div class="additional-info text-muted">
|
<div class="additional-info text-muted">
|
||||||
|
@ -173,7 +165,15 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
• <i class="fa fa-thumb-tack" aria-hidden="true" title="{{$item.pinned}}"></i>
|
• <i class="fa fa-thumb-tack" aria-hidden="true" title="{{$item.pinned}}"></i>
|
||||||
<span class="sr-only">{{$item.pinned}}</span>
|
<span class="sr-only">{{$item.pinned}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{if $item.connector}}
|
||||||
|
•
|
||||||
|
<small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
|
||||||
|
{{else}}
|
||||||
|
•
|
||||||
|
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
|
||||||
|
<small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
|
||||||
|
</span>
|
||||||
|
{{/if}}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -190,13 +190,6 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
<div class="contact-info-xs hidden-lg hidden-md"><!-- <= For smartphone (responsive) -->
|
<div class="contact-info-xs hidden-lg hidden-md"><!-- <= For smartphone (responsive) -->
|
||||||
<h5 class="media-heading">
|
<h5 class="media-heading">
|
||||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo hover-card"><span>{{$item.name}}</span></a>
|
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo hover-card"><span>{{$item.name}}</span></a>
|
||||||
{{if $item.connector}}
|
|
||||||
<small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
|
|
||||||
{{else}}
|
|
||||||
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
|
|
||||||
<small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
|
|
||||||
</span>
|
|
||||||
{{/if}}
|
|
||||||
<p class="text-muted">
|
<p class="text-muted">
|
||||||
<small>
|
<small>
|
||||||
<a href="{{$item.plink.orig}}">
|
<a href="{{$item.plink.orig}}">
|
||||||
|
@ -209,6 +202,15 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
{{if $item.direction}}
|
{{if $item.direction}}
|
||||||
{{include file="sub/direction.tpl" direction=$item.direction}}
|
{{include file="sub/direction.tpl" direction=$item.direction}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{if $item.connector}}
|
||||||
|
•
|
||||||
|
<small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
|
||||||
|
{{else}}
|
||||||
|
•
|
||||||
|
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
|
||||||
|
<i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i>
|
||||||
|
</span>
|
||||||
|
{{/if}}
|
||||||
</small>
|
</small>
|
||||||
</p>
|
</p>
|
||||||
</h5>
|
</h5>
|
||||||
|
@ -218,13 +220,6 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
<div class="contact-info-comment">
|
<div class="contact-info-comment">
|
||||||
<h5 class="media-heading">
|
<h5 class="media-heading">
|
||||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo hover-card"><span class="fakelink">{{$item.name}}</span></a>
|
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo hover-card"><span class="fakelink">{{$item.name}}</span></a>
|
||||||
{{if $item.connector}}
|
|
||||||
<small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
|
|
||||||
{{else}}
|
|
||||||
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
|
|
||||||
<small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
|
|
||||||
</span>
|
|
||||||
{{/if}}
|
|
||||||
<span class="text-muted">
|
<span class="text-muted">
|
||||||
</h5>
|
</h5>
|
||||||
<small>
|
<small>
|
||||||
|
@ -251,6 +246,15 @@ as the value of $top_child_total (this is done at the end of this file)
|
||||||
{{if $item.direction}}
|
{{if $item.direction}}
|
||||||
{{include file="sub/direction.tpl" direction=$item.direction}}
|
{{include file="sub/direction.tpl" direction=$item.direction}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{if $item.connector}}
|
||||||
|
•
|
||||||
|
<small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
|
||||||
|
{{else}}
|
||||||
|
<span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
|
||||||
|
•
|
||||||
|
<small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
|
||||||
|
</span>
|
||||||
|
{{/if}}
|
||||||
</small>
|
</small>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue