]> git.mxchange.org Git - friendica.git/commitdiff
[frio] adding Feed link to vcard
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 29 Apr 2022 17:27:25 +0000 (19:27 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 29 Apr 2022 17:27:25 +0000 (19:27 +0200)
This PR adds a link to the Atom Feed of a profile to the aside vcard in the Frio theme. The link is already in the other themes, so it only needs to be added to Frio.

fixes #10397

view/theme/frio/templates/profile/vcard.tpl

index b91c14168b3441dfac309abced4f0df0d739a160..b208eca885376a3116d0c23be591eaef6e7ecda9 100644 (file)
                                {{/if}}
                        </div>
                        {{/if}}
+                       {{if $subscribe_feed_link}}
+                       <div id="subscribe-feed-link-button">
+                               <a id="subscribe-feed-link" class="btn btn-labeled btn-primary btn-sm" href="{{$subscribe_feed_link}}">
+                                       <span class=""><i class="fa fa-rss"></i></span>
+                                       <span class="">{{$subscribe_feed}}</span>
+                               </a>
+                       </div>
+                       {{/if}}
                        {{if $wallmessage_link}}
                        <div id="wallmessage-link-botton">
                                <button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="openWallMessage('{{$wallmessage_link}}')">