Browse Source

Added external link icons to joinmastodon navbar buttons (#4368)

pull/4/head
Ondřej Hruška 6 years ago
committed by Eugen Rochko
parent
commit
4115043dc7
2 changed files with 8 additions and 2 deletions
  1. +4
    -1
      app/views/about/more.html.haml
  2. +4
    -1
      app/views/about/show.html.haml

+ 4
- 1
app/views/about/more.html.haml View File

@ -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

+ 4
- 1
app/views/about/show.html.haml View File

@ -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

Loading…
Cancel
Save