Hide get started link when register closed (#2583)
This commit is contained in:
parent
9566893cc9
commit
01c206326f
|
@ -5,6 +5,7 @@
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
%li= link_to t('about.get_started'), root_path
|
%li= link_to t('about.get_started'), root_path
|
||||||
- else
|
- else
|
||||||
|
- if @instance_presenter.open_registrations
|
||||||
%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
|
||||||
|
|
Reference in a new issue