From e45fed58cb4a735e6429eadba3171f81c0dd5fa0 Mon Sep 17 00:00:00 2001
From: Effy Elden <git@effy.is>
Date: Sun, 15 Jan 2017 11:03:35 +1100
Subject: [PATCH] Add a textual 'Back to Mastodon' link in footer of settings
 pages

---
 app/views/settings/shared/_links.html.haml | 1 +
 config/locales/en.yml                      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/app/views/settings/shared/_links.html.haml b/app/views/settings/shared/_links.html.haml
index 44f097950bf..a6e90f45711 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 bc369fc35e9..128a4d40ed3 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