mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
fix: Warn if JavaScript is disabled (#3634)
This commit is contained in:
parent
75c6513c67
commit
8acadeea76
@ -3629,3 +3629,12 @@ button.icon-button.active i.fa-retweet {
|
||||
border-color: transparent transparent $ui-base-color;
|
||||
}
|
||||
}
|
||||
|
||||
noscript {
|
||||
text-align: center;
|
||||
|
||||
div {
|
||||
font-size: 20px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
}
|
||||
|
@ -4,3 +4,7 @@
|
||||
= javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous'
|
||||
|
||||
.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
||||
%noscript
|
||||
= image_tag asset_pack_path('logo.png')
|
||||
%div
|
||||
= t('errors.noscript')
|
||||
|
@ -231,6 +231,7 @@ en:
|
||||
content: Security verification failed. Are you blocking cookies?
|
||||
title: Security verification failed
|
||||
'429': Throttled
|
||||
noscript: To use Mastodon, please enable JavaScript.
|
||||
exports:
|
||||
blocks: You block
|
||||
csv: CSV
|
||||
|
Loading…
Reference in New Issue
Block a user