This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/settings/shared/_links.html.haml

8 lines
384 B
Plaintext
Raw Normal View History

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