Change alt text for logo in noscript view and admin view to name of instance

This commit is contained in:
Emma Winston 2019-09-16 22:04:02 +01:00
parent 5676f2fd43
commit 292bd53848
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } } .app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
%noscript %noscript
= image_pack_tag 'logo.svg', alt: 'Mastodon' = image_pack_tag 'logo.svg', alt: site_title
%div %div
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps', title: site_title) = t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps', title: site_title)

View File

@ -6,7 +6,7 @@
.sidebar-wrapper .sidebar-wrapper
.sidebar .sidebar
= link_to root_path do = link_to root_path do
= image_pack_tag 'logo.svg', class: 'logo', alt: 'Mastodon' = image_pack_tag 'logo.svg', class: 'logo', alt: site_title
= render_navigation = render_navigation
.content-wrapper .content-wrapper