]> cat aescling's git repositories - mastodon.git/commitdiff
Added external link icons to joinmastodon navbar buttons (#4368)
authorOndřej Hruška <ondra@ondrovo.com>
Wed, 26 Jul 2017 00:00:36 +0000 (02:00 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 26 Jul 2017 00:00:36 +0000 (02:00 +0200)
app/views/about/more.html.haml
app/views/about/show.html.haml

index 11315fefaa95b1c3fc7f0d63a57b92c4b78d53f0..6342c72481512079cf9250232ec8cecbb50c91e4 100644 (file)
             - 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
index a3c8e4a84a2a5e6fef10999e0ff38894cb087a3f..d0c9a66506ab2b11b664828820774eba3fafdea5 100644 (file)
             - 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