commit: 4115043dc7be6e5cc8a5bb2e95ef97d391111611
parent: 7062cb764fe450981b4a8b482b01f85fed1914a0
Author: Ondřej Hruška <ondra@ondrovo.com>
Date: Wed, 26 Jul 2017 02:00:36 +0200
Added external link icons to joinmastodon navbar buttons (#4368)
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git 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
@@ -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