mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Fix #466 - when logged in, make "get started" link to the frontpage instead of sign up
This commit is contained in:
parent
16f9490d33
commit
cc1eccc8bc
2 changed files with 6 additions and 2 deletions
|
@ -245,6 +245,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
line-height: 18px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -45,6 +45,9 @@
|
||||||
.panel-header= t 'about.links'
|
.panel-header= t 'about.links'
|
||||||
.panel-list
|
.panel-list
|
||||||
%ul
|
%ul
|
||||||
|
- if user_signed_in?
|
||||||
|
%li= link_to t('about.get_started'), root_path
|
||||||
|
- else
|
||||||
%li= link_to t('about.get_started'), new_user_registration_path
|
%li= link_to t('about.get_started'), new_user_registration_path
|
||||||
%li= link_to t('auth.login'), new_user_session_path
|
%li= link_to t('auth.login'), new_user_session_path
|
||||||
%li= link_to t('about.terms'), terms_path
|
%li= link_to t('about.terms'), terms_path
|
||||||
|
|
Loading…
Reference in a new issue