mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 20:13:43 +01:00
5da5c65db8
They were redundant, and also had a inconsistency; the button for "other instances" had an icon for the external link in "more" page, but it didn't in the other pages. This unifies the implementation, and the external link icon is now shown in all the about pages.
16 lines
540 B
Text
16 lines
540 B
Text
.container.links
|
|
.brand
|
|
= link_to root_url do
|
|
= image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon'
|
|
|
|
%ul.nav
|
|
%li
|
|
- if user_signed_in?
|
|
= link_to t('settings.back'), root_url, class: 'webapp-btn'
|
|
- 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 'https://joinmastodon.org/' do
|
|
= "#{t('about.other_instances')}"
|
|
%i.fa.fa-external-link{ style: 'padding-left: 5px;' }
|