This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: Warn if JavaScript is disabled (
#3634
)
closed-social-v3
Sorin Davidoi
7 years ago
committed by
Eugen Rochko
parent
75c6513c67
commit
8acadeea76
3 changed files
with
14 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
app/javascript/styles/components.scss
+4
-0
app/views/home/index.html.haml
+1
-0
config/locales/en.yml
+ 9
- 0
app/javascript/styles/components.scss
View File
@ -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
- 0
app/views/home/index.html.haml
View File
@ -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')
+ 1
- 0
config/locales/en.yml
View File
@ -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
Write
Preview
Loading…
Cancel
Save