Improve embeds (#7919)

* Make embeds cacheable by reverse proxy

* Make follow button on embeds open remote follow modal

Instead of web+mastodon://, also, turn the button blue, and add a
sign up prompt to the remote follow modal
This commit is contained in:
Eugen Rochko
2018-07-01 04:12:34 +02:00
committed by GitHub
parent 8fea9cc311
commit 2092d5c0ad
8 changed files with 21 additions and 6 deletions

View File

@ -11,3 +11,5 @@
.actions
= f.button :button, t('remote_follow.proceed'), type: :submit
%p.hint.subtle-hint= t('remote_follow.no_account_html', sign_up_path: open_registrations? ? new_user_registration_path : 'https://joinmastodon.org')