Browse Source

Hide get started link when register closed (#2583)

closed-social-glitch-2
Yamagishi Kazutoshi 7 years ago
committed by Eugen Rochko
parent
commit
01c206326f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/views/about/_links.html.haml

+ 2
- 1
app/views/about/_links.html.haml View File

@ -5,7 +5,8 @@
- 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
- if @instance_presenter.open_registrations
%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'

Loading…
Cancel
Save