Browse Source

Merge pull request #474 from ineffyble/add-back-link-to-settings

Add a 'Back to Mastodon' link to footer of settings pages
master
Eugen 7 years ago
committed by GitHub
parent
commit
777f527d86
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 %li= link_to t('settings.preferences'), settings_preferences_path
- if controller_name != 'registrations' - if controller_name != 'registrations'
%li= link_to t('auth.change_password'), edit_user_registration_path %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: settings:
edit_profile: Edit profile edit_profile: Edit profile
preferences: Preferences preferences: Preferences
back: Back to Mastodon
stream_entries: stream_entries:
click_to_show: Click to show click_to_show: Click to show
favourited: favourited a post by favourited: favourited a post by

Loading…
Cancel
Save