1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-23 02:58:34 +09:00
YuruToot/app/views/settings/shared/_links.html.haml

11 lines
508 B
Plaintext
Raw Normal View History

2016-10-14 09:28:49 +09:00
%ul.no-list
- if controller_name != 'profiles'
2016-11-16 07:02:57 +09:00
%li= link_to t('settings.edit_profile'), settings_profile_path
2016-10-14 09:28:49 +09:00
- if controller_name != 'preferences'
2016-11-16 07:02:57 +09:00
%li= link_to t('settings.preferences'), settings_preferences_path
2016-10-14 09:28:49 +09:00
- if controller_name != 'registrations'
2016-11-16 07:02:57 +09:00
%li= link_to t('auth.change_password'), edit_user_registration_path
- if controller_name != 'two_factor_auths'
%li= link_to t('settings.two_factor_auth'), settings_two_factor_auth_path
%li= link_to t('settings.back'), root_path