Improve styling of closed registrations message, rename button (#6695)
* Improve styling of closed registrations message, rename button "Sign up on another server" Fix #6683 * Adjust styling of closed registrations messagepull/379/head
parent
b79ab15859
commit
5acd5315f2
|
@ -194,6 +194,28 @@ $small-breakpoint: 960px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.closed-registrations-message {
|
||||||
|
margin-top: 20px;
|
||||||
|
|
||||||
|
&,
|
||||||
|
p {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 18px;
|
||||||
|
color: $ui-primary-color;
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $ui-highlight-color;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
em {
|
em {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
- if @instance_presenter.open_registrations
|
- if @instance_presenter.open_registrations
|
||||||
= render 'registration'
|
= render 'registration'
|
||||||
- else
|
- else
|
||||||
- if @instance_presenter.closed_registrations_message.blank?
|
= link_to t('auth.register_elsewhere'), 'https://joinmastodon.org', class: 'button button-primary'
|
||||||
%p= t('about.closed_registrations')
|
|
||||||
- else
|
|
||||||
= @instance_presenter.closed_registrations_message.html_safe
|
|
||||||
|
|
||||||
= link_to t('auth.register'), 'https://joinmastodon.org', class: 'button button-primary'
|
.closed-registrations-message
|
||||||
|
- if @instance_presenter.closed_registrations_message.blank?
|
||||||
|
%p= t('about.closed_registrations')
|
||||||
|
- else
|
||||||
|
= @instance_presenter.closed_registrations_message.html_safe
|
||||||
|
|
||||||
.separator-or
|
.separator-or
|
||||||
%span= t('auth.or')
|
%span= t('auth.or')
|
||||||
|
|
|
@ -376,6 +376,7 @@ en:
|
||||||
cas: CAS
|
cas: CAS
|
||||||
saml: SAML
|
saml: SAML
|
||||||
register: Sign up
|
register: Sign up
|
||||||
|
register_elsewhere: Sign up on another server
|
||||||
resend_confirmation: Resend confirmation instructions
|
resend_confirmation: Resend confirmation instructions
|
||||||
reset_password: Reset password
|
reset_password: Reset password
|
||||||
security: Security
|
security: Security
|
||||||
|
|
Loading…
Reference in New Issue