From: Ondřej Hruška Date: Wed, 26 Jul 2017 00:00:36 +0000 (+0200) Subject: Added external link icons to joinmastodon navbar buttons (#4368) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=4115043dc7be6e5cc8a5bb2e95ef97d391111611;p=mastodon.git Added external link icons to joinmastodon navbar buttons (#4368) --- 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