From 5556990b94ab4e4081b00c46f5064062e5cb4473 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Mon, 24 Dec 2012 18:21:21 +0100 Subject: [PATCH] add config root to JS side --- templates/generic_page.html | 1 + templates/index.html | 1 + templates/page.html | 1 + templates/thread.html | 1 + 4 files changed, 4 insertions(+) diff --git a/templates/generic_page.html b/templates/generic_page.html index 9099c79c..c50fb5dd 100644 --- a/templates/generic_page.html +++ b/templates/generic_page.html @@ -9,6 +9,7 @@ {% if config.meta_keywords %}{% endif %} {% if config.default_stylesheet.1 != '' %}{% endif %} + {% if not nojavascript %} {% if not config.additional_javascript_compile %} diff --git a/templates/index.html b/templates/index.html index 76c35d95..d7910416 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,6 +8,7 @@ {% if config.meta_keywords %}{% endif %} {% if config.default_stylesheet.1 != '' %}{% endif %} + {% if not nojavascript %} {% if not config.additional_javascript_compile %} diff --git a/templates/page.html b/templates/page.html index 0f59e6b1..8fbc49cd 100644 --- a/templates/page.html +++ b/templates/page.html @@ -7,6 +7,7 @@ {{ title }} {% if config.default_stylesheet.1 != '' %}{% endif %} + {% if not nojavascript %}{% endif %} diff --git a/templates/thread.html b/templates/thread.html index 60d3c82e..4c359861 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -8,6 +8,7 @@ {% if config.meta_keywords %}{% endif %} {% if config.default_stylesheet.1 != '' %}{% endif %} + {% if not nojavascript %} {% if not config.additional_javascript_compile %}