]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Add local post link to share block when guid attribute is present
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 21 Jun 2020 13:45:36 +0000 (09:45 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 21 Jun 2020 13:45:36 +0000 (09:45 -0400)
view/theme/frio/templates/shared_content.tpl

index a4f47e618436f053b47d80cb4f347d0056fb120e..f7b210bb885eb49c0e244794c0d41274f6f57c36 100644 (file)
                                </a>
                        {{/if}}
                </div>
-               <div class="shared-wall-item-ago"><small><span class="shared-time">{{$posted}}</span></small></div>
+               <div class="shared-wall-item-ago"><small>
+                       {{if $guid}}
+                       <a href="/display/{{$guid}}">
+                       {{/if}}
+                               <span class="shared-time">{{$posted}}</span>
+                       {{if $guid}}
+                       </a>
+                       {{/if}}
+               </small></div>
        </div>
        <blockquote class="shared_content">{{$content nofilter}}</blockquote>
 </div>