mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
7a889a8e12
* Added a success page to remote following Includes follow-through links to web (the old redirect target) and back to the remote user's profile * Use Account.new in spec instead of a fake with only id (fixes spec) * Fabricate(:account) over Account.new * Remove self from the success text (and all HTML with it)
17 lines
585 B
Plaintext
17 lines
585 B
Plaintext
- content_for :page_title do
|
|
= t('authorize_follow.title', acct: @account.acct)
|
|
|
|
.form-container
|
|
.follow-prompt
|
|
- if @account.locked?
|
|
%h2= t('authorize_follow.follow_request')
|
|
- else
|
|
%h2= t('authorize_follow.following')
|
|
|
|
= render 'card', account: @account
|
|
|
|
.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'), @account.url, class: 'button button--block'
|
|
%div= t('authorize_follow.post_follow.close')
|