Bläddra i källkod

Fix #466 - when logged in, make "get started" link to the frontpage instead of sign up

master
Eugen Rochko 7 år sedan
förälder
incheckning
cc1eccc8bc
2 ändrade filer med 6 tillägg och 2 borttagningar
  1. +1
    -0
      app/assets/stylesheets/about.scss
  2. +5
    -2
      app/views/about/more.html.haml

+ 1
- 0
app/assets/stylesheets/about.scss Visa fil

@@ -245,6 +245,7 @@
margin: 0;
font-family: inherit;
font-size: 13px;
line-height: 18px;

a {
display: block;


+ 5
- 2
app/views/about/more.html.haml Visa fil

@@ -45,7 +45,10 @@
.panel-header= t 'about.links'
.panel-list
%ul
%li= link_to t('about.get_started'), new_user_registration_path
%li= link_to t('auth.login'), new_user_session_path
- 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('auth.login'), new_user_session_path
%li= link_to t('about.terms'), terms_path
%li= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'

Laddar…
Avbryt
Spara