]> cat aescling's git repositories - mastodon.git/commitdiff
Add a textual 'Back to Mastodon' link in footer of settings pages
authorEffy Elden <git@effy.is>
Sun, 15 Jan 2017 00:03:35 +0000 (11:03 +1100)
committerEffy Elden <git@effy.is>
Sun, 15 Jan 2017 00:03:35 +0000 (11:03 +1100)
app/views/settings/shared/_links.html.haml
config/locales/en.yml

index 44f097950bf2f6a4bd55ecc6134ceb55c570b402..a6e90f45711cad37ed1b68b6903b66b26c115116 100644 (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
\ No newline at end of file
index bc369fc35e9d1f549d62cdf10e0ae8ea01c0d7c7..128a4d40ed3843ae0ebfd7dad73071c352f339f9 100644 (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