From 006f4d41b18a160a0c024d88bfad511897e91404 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 14 Mar 2011 12:28:13 -0400 Subject: [PATCH] Display "DEBUG mode" string in title if DEBUG variable is set to True --- apps/main/templates/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/main/templates/base.html b/apps/main/templates/base.html index 1dd2df1709..7e22b31bfb 100644 --- a/apps/main/templates/base.html +++ b/apps/main/templates/base.html @@ -8,7 +8,8 @@ {% block html_title %}{% project_name %}{% block title %}{% endblock %}{% endblock %} -{% block web_theme_project_name %}{% project_name %}{% endblock %} +{% get_main_setting "SIDE_BAR_SEARCH" as debug %} +{% block web_theme_project_name %}{% project_name %}{% if debug %} {% trans "(DEBUG Mode)" %} {% endif %}{% endblock %} {% block web_theme_stylesheets %}