From: Jorge Maldonado Ventura Date: Mon, 18 Sep 2017 23:03:01 +0000 (+0200) Subject: Make basic functionality work without JavaScript (#2541) X-Git-Tag: v1.3.0-rc1~184 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d155d0e6656df7b7699a4a6b60889689d6678ef5;p=gitea.git Make basic functionality work without JavaScript (#2541) --- diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 2e4520a7a3..6d4c79e8f5 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 edb7b2003d..23292cdbcd 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -76,6 +76,12 @@ + {{if .RequireHighlightJS}} @@ -118,7 +124,7 @@
- + {{if not .PageIsInstall}}