From c0e473e221ef325455d6f41bf68c8499b6dd6e01 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Thu, 15 Mar 2018 14:45:32 +0100 Subject: [PATCH] Move JS disabled warning message to the i18n configuration file --- site/i18n/en.toml | 2 ++ site/layouts/partials/nav.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/site/i18n/en.toml b/site/i18n/en.toml index 78d2bb0..a612627 100644 --- a/site/i18n/en.toml +++ b/site/i18n/en.toml @@ -10,3 +10,5 @@ other = "International NGOs" other = "National NGOs" [organisations_regional_ngo] other = "Regional NGOs" +[javascript_warning] +other = "Warning: Interactive features will not work with JavaScript disabled." diff --git a/site/layouts/partials/nav.html b/site/layouts/partials/nav.html index fdb70cf..25264b5 100644 --- a/site/layouts/partials/nav.html +++ b/site/layouts/partials/nav.html @@ -1,6 +1,6 @@ {{ "" | safeHTML }}