about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-07-26 02:00:36 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-07-26 02:00:36 +0200
commit4115043dc7be6e5cc8a5bb2e95ef97d391111611 (patch)
treec96b1a4d5bdca228a0466c64dc495894aa0234d8
parent7062cb764fe450981b4a8b482b01f85fed1914a0 (diff)
Added external link icons to joinmastodon navbar buttons (#4368)
-rw-r--r--app/views/about/more.html.haml5
-rw-r--r--app/views/about/show.html.haml5
2 files changed, 8 insertions, 2 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml
index 11315fefa..6342c7248 100644
--- a/app/views/about/more.html.haml
+++ b/app/views/about/more.html.haml
@@ -29,7 +29,10 @@
             - else
               = link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
           %li= link_to t('about.about_this'), about_more_path
-          %li= link_to t('about.other_instances'), 'https://joinmastodon.org/'
+          %li
+            = link_to 'https://joinmastodon.org/' do
+              = "#{t('about.other_instances')}"
+              %i.fa.fa-external-link{ style: 'padding-left: 5px;' }
 
       .container.hero
         .heading
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index a3c8e4a84..d0c9a6650 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -33,7 +33,10 @@
             - else
               = link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
           %li= link_to t('about.about_this'), about_more_path
-          %li= link_to t('about.other_instances'), 'https://joinmastodon.org/'
+          %li
+            = link_to 'https://joinmastodon.org/' do
+              = "#{t('about.other_instances')}"
+              %i.fa.fa-external-link{ style: 'padding-left: 5px;' }
 
       .container.hero
         .floats