logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

_links.html.haml (538B)


  1. %ul.no-list
  2. - if controller_name != 'profiles'
  3. %li= link_to t('settings.edit_profile'), settings_profile_path
  4. - if controller_name != 'preferences'
  5. %li= link_to t('settings.preferences'), settings_preferences_path
  6. - if controller_name != 'registrations'
  7. %li= link_to t('auth.change_password'), edit_user_registration_path
  8. - if controller_name != 'two_factor_authentications'
  9. %li= link_to t('settings.two_factor_authentication'), settings_two_factor_authentication_path
  10. %li= link_to t('settings.back'), root_path