mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Remove image_pack_tag
usage (#29925)
This commit is contained in:
parent
34e826f373
commit
ee4ea83a87
@ -19,6 +19,6 @@ module BrandingHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def render_logo
|
def render_logo
|
||||||
image_pack_tag('logo.svg', alt: 'Mastodon', class: 'logo logo--icon')
|
image_tag(frontend_asset_path('images/logo.svg'), alt: 'Mastodon', class: 'logo logo--icon')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
.notranslate.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
.notranslate.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
||||||
%noscript
|
%noscript
|
||||||
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
= image_tag frontend_asset_path('images/logo.svg'), alt: 'Mastodon'
|
||||||
|
|
||||||
%div
|
%div
|
||||||
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')
|
= t('errors.noscript_html', apps_path: 'https://joinmastodon.org/apps')
|
||||||
|
Loading…
Reference in New Issue
Block a user