about summary refs log tree commit diff
path: root/app/views/home/index.html.haml
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-06-08 00:52:56 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-06-08 00:52:56 +0200
commit8acadeea7622e7ed828b9bba494a9fdd9370ad29 (patch)
treee81d6959808aa229a2c8485f6c9bf295480e05dd /app/views/home/index.html.haml
parent75c6513c678148e9a6adfcda57cfd5c8a16c804a (diff)
fix: Warn if JavaScript is disabled (#3634)
Diffstat (limited to 'app/views/home/index.html.haml')
-rw-r--r--app/views/home/index.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
index 87cfcaff4..33c978c89 100644
--- a/app/views/home/index.html.haml
+++ b/app/views/home/index.html.haml
@@ -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')