mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Login link for single user instances (#2393)
* Login link for single user instances * Flip the if statement around Fixes AuthorizationController tests
This commit is contained in:
parent
122d59ac41
commit
1b9447853b
@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.powered-by {
|
.powered-by, .single-user-login {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
- content_for :content do
|
- content_for :content do
|
||||||
.container= yield
|
.container= yield
|
||||||
.footer
|
.footer
|
||||||
|
- if !user_signed_in? && single_user_mode?
|
||||||
|
%span.single-user-login
|
||||||
|
= link_to t('auth.login'), new_user_session_path
|
||||||
|
= "\u2014"
|
||||||
%span.domain= link_to site_hostname, root_path
|
%span.domain= link_to site_hostname, root_path
|
||||||
%span.powered-by
|
%span.powered-by
|
||||||
= t('generic.powered_by', link: link_to('Mastodon', 'https://github.com/tootsuite/mastodon')).html_safe
|
= t('generic.powered_by', link: link_to('Mastodon', 'https://github.com/tootsuite/mastodon')).html_safe
|
||||||
|
Loading…
Reference in New Issue
Block a user