Display "DEBUG mode" string in title if DEBUG variable is set to True

This commit is contained in:
Roberto Rosario
2011-03-14 12:28:13 -04:00
parent 9f69534496
commit 006f4d41b1

View File

@@ -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 %}
<link rel="stylesheet" href="{{ MEDIA_URL }}css/override.css" type="text/css" media="screen" />