mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-01 20:45:56 +00:00
1364e9e4ae
* Fix follow/unfollow buttons on public profile - Present non-logged users with web+mastodon:// URLs for remote accounts - Present logged-in users with appropriate links (authorize_follows and remote_unfollows) for remote accounts * Do not cache rendered cards if user is logged in
5 lines
317 B
Plaintext
5 lines
317 B
Plaintext
.post-follow-actions
|
|
%div= link_to t('authorize_follow.post_follow.web'), web_url("accounts/#{@account.id}"), class: 'button button--block'
|
|
%div= link_to t('authorize_follow.post_follow.return'), TagManager.instance.url_for(@account), class: 'button button--block'
|
|
%div= t('authorize_follow.post_follow.close')
|