@ -353,6 +371,13 @@ class InteractionModal extends React.PureComponent {
<p>{actionDescription}<strong><FormattedMessageid='interaction_modal.sign_in'defaultMessage='You are not logged in to this server. Where is your account hosted?'/></strong></p>
<p>{actionDescription}<strong><FormattedMessageid='interaction_modal.sign_in'defaultMessage='You are not logged in to this server. Where is your account hosted?'/></strong></p>
<h3><FormattedMessageid='interaction_modal.on_this_server'defaultMessage='On this server'/></h3>
{signUpOrSignInButton}
</div>
</div>
<IntlLoginFormresourceUrl={url}/>
<IntlLoginFormresourceUrl={url}/>
<pclassName='hint'><FormattedMessageid='interaction_modal.sign_in_hint'defaultMessage="Tip: That's the website where you signed up. If you don't remember, look for the welcome e-mail in your inbox. You can also enter your full username! (e.g. @Mastodon@mastodon.social)"/></p>
<pclassName='hint'><FormattedMessageid='interaction_modal.sign_in_hint'defaultMessage="Tip: That's the website where you signed up. If you don't remember, look for the welcome e-mail in your inbox. You can also enter your full username! (e.g. @Mastodon@mastodon.social)"/></p>
@ -73,28 +73,35 @@ class Header extends PureComponent {
</>
</>
);
);
}else{
}else{
letsignupButton;
if(registrationsOpen){
if(sso_redirect){
signupButton=(
content=(
<ahref={signupUrl}className='button'>
<ahref={sso_redirect}data-method='post'className='button button--block button-tertiary'><FormattedMessageid='sign_in_banner.sso_redirect'defaultMessage='Login or Register'/></a>
<p><FormattedMessageid='sign_in_banner.text'defaultMessage='Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server.'/></p>
<ahref={sso_redirect}data-method='post'className='button button--block button-tertiary'><FormattedMessageid='sign_in_banner.sso_redirect'defaultMessage='Login or Register'/></a>
"sign_in_banner.sso_redirect":"Login or Register",
"sign_in_banner.text":"Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server.",
"sign_in_banner.text":"Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server.",
"status.admin_account":"Open moderation interface for @{name}",
"status.admin_account":"Open moderation interface for @{name}",
"status.admin_domain":"Open moderation interface for {domain}",
"status.admin_domain":"Open moderation interface for {domain}",