Browse Source

Add a textual 'Back to Mastodon' link in footer of settings pages

closed-social-glitch-2
Effy Elden 7 years ago
parent
commit
e45fed58cb
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      app/views/settings/shared/_links.html.haml
  2. +1
    -0
      config/locales/en.yml

+ 1
- 0
app/views/settings/shared/_links.html.haml View File

@ -5,3 +5,4 @@
%li= link_to t('settings.preferences'), settings_preferences_path
- if controller_name != 'registrations'
%li= link_to t('auth.change_password'), edit_user_registration_path
%li= link_to t('settings.back'), root_path

+ 1
- 0
config/locales/en.yml View File

@ -90,6 +90,7 @@ en:
settings:
edit_profile: Edit profile
preferences: Preferences
back: Back to Mastodon
stream_entries:
click_to_show: Click to show
favourited: favourited a post by

Loading…
Cancel
Save