]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/wall_thread.tpl
Update wall_thread.tpl
[friendica.git] / view / theme / frio / templates / wall_thread.tpl
index 8defb823484fa8dc1dba40fbbe9a2c53c0820e8d..4ef23931fd22984b28df95cb73128d50613e4ecd 100644 (file)
@@ -128,7 +128,16 @@ as the value of $top_child_total (this is done at the end of this file)
                                {{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></span>
                                {{else}}
-                                       <span class="wall-item-network" title="{{$item.app}}">{{$item.network_name}}</span>
+                                       {{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 *}}
+                                               <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}}
                                {{/if}}
                        </div>
                {{if $item.thread_level==1}}