From d155d0e6656df7b7699a4a6b60889689d6678ef5 Mon Sep 17 00:00:00 2001 From: Jorge Maldonado Ventura Date: Tue, 19 Sep 2017 01:03:01 +0200 Subject: [PATCH] Make basic functionality work without JavaScript (#2541) --- options/locale/locale_en-US.ini | 1 + templates/base/head.tmpl | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 2e4520a7a3e..6d4c79e8f53 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -20,6 +20,7 @@ notifications = Notifications create_new = Create... user_profile_and_more = User profile and more signed_in_as = Signed in as +enable_javascript = This website works better with JavaScript username = Username email = Email diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index edb7b2003da..23292cdbcd5 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -76,6 +76,12 @@ + {{if .RequireHighlightJS}} @@ -118,7 +124,7 @@
- + {{if not .PageIsInstall}}