1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Hide get started link when register closed (#2583)

This commit is contained in:
Yamagishi Kazutoshi 2017-04-28 22:45:37 +09:00 committed by Eugen Rochko
parent 9566893cc9
commit 01c206326f

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'