about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEffy Elden <git@effy.is>2017-01-15 11:03:35 +1100
committerEffy Elden <git@effy.is>2017-01-15 11:03:35 +1100
commite45fed58cb4a735e6429eadba3171f81c0dd5fa0 (patch)
tree7398864d8c441358daf7a1cb6a76860f59e9a0b5
parent88801f7554edda4d0d0a2403d841edef55443ab8 (diff)
Add a textual 'Back to Mastodon' link in footer of settings pages
-rw-r--r--app/views/settings/shared/_links.html.haml1
-rw-r--r--config/locales/en.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/settings/shared/_links.html.haml b/app/views/settings/shared/_links.html.haml
index 44f097950..a6e90f457 100644
--- a/app/views/settings/shared/_links.html.haml
+++ b/app/views/settings/shared/_links.html.haml
@@ -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
\ No newline at end of file
diff --git a/config/locales/en.yml b/config/locales/en.yml
index bc369fc35..128a4d40e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -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