Added a new option MAIN_DISABLE_ICONS to turn off all the project icons, a look which goes well with the new web_app 'default' theme

This commit is contained in:
Roberto Rosario
2011-07-26 04:06:58 -04:00
parent eaaf97d360
commit 85ed58f9bc
4 changed files with 20 additions and 5 deletions

View File

@@ -19,3 +19,11 @@ register_setting(
global_name=u'MAIN_DISABLE_HOME_VIEW',
default=False,
)
register_setting(
namespace=u'main',
module=u'main.conf.settings',
name=u'DISABLE_ICONS',
global_name=u'MAIN_DISABLE_ICONS',
default=False,
)

View File

@@ -25,7 +25,7 @@
{% block html_title %}{% project_name %}{{ request.new_window_url }}{% block title %}{% endblock %}{% 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_project_name %}{% project_name %}{% if debug %} {% trans "(DEBUG)" %} {% endif %}{% endblock %}
{% block web_theme_stylesheets %}
<link rel="stylesheet" href="{{ MEDIA_URL }}css/famfamfam-silk-sprite.css" type="text/css" media="screen" />