mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-14 20:24:17 -05:00
69ba8f063c
Fix #8393
13 lines
679 B
Plaintext
13 lines
679 B
Plaintext
%ul.no-list
|
|
- if controller_name != 'sessions'
|
|
%li= link_to t('auth.login'), new_session_path(resource_name)
|
|
|
|
- if devise_mapping.registerable? && controller_name != 'registrations'
|
|
%li= link_to t('auth.register'), open_registrations? ? new_registration_path(resource_name) : 'https://joinmastodon.org/#getting-started'
|
|
|
|
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
|
|
%li= link_to t('auth.forgot_password'), new_password_path(resource_name)
|
|
|
|
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
|
%li= link_to t('auth.didnt_get_confirmation'), new_confirmation_path(resource_name)
|