diff --git a/media/css/reader.css b/media/css/reader.css index 9a93b9ea0..d0b94f47c 100644 --- a/media/css/reader.css +++ b/media/css/reader.css @@ -514,7 +514,7 @@ background: transparent; } #story_titles .NB-feedbar .NB-feedbar-manage-feed { - background: transparent url("../img/icons/silk/wrench.png") no-repeat center center; + background: transparent url("../img/icons/silk/cog.png") no-repeat center center; float: left; width: 16px; height: 16px; @@ -1084,7 +1084,7 @@ background: transparent; background: transparent url('../img/icons/silk/add.png') no-repeat center 8px; } .NB-taskbar .task_button.NB-task-manage { - background: transparent url('../img/icons/silk/wrench.png') no-repeat center 8px; + background: transparent url('../img/icons/silk/cog.png') no-repeat center 8px; } .NB-taskbar .task_button.task_profile { background: transparent url('../img/icons/silk/user.png') no-repeat center 8px; diff --git a/settings.py b/settings.py index 658d1c48c..84299a06a 100644 --- a/settings.py +++ b/settings.py @@ -191,6 +191,7 @@ INSTALLED_APPS = ( 'devserver', 'south', 'test_utils', + 'utils', # 'debug_toolbar' ) diff --git a/templates/base.html b/templates/base.html index 342b3ce2f..114a4d9da 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,4 +1,4 @@ -{% load compressed %} +{% load compressed utils_tags %} @@ -40,20 +40,19 @@ - {{ session }} - {% block header %}{% endblock %} {% block content %}{% endblock %} - - - + {% if not debug %} + + + {% endif %} diff --git a/utils/templatetags/__init__.py b/utils/templatetags/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/utils/templatetags/utils_tags.py b/utils/templatetags/utils_tags.py new file mode 100644 index 000000000..0972bf00b --- /dev/null +++ b/utils/templatetags/utils_tags.py @@ -0,0 +1,5 @@ +from django.conf import settings +from django import template + +register = template.Library() +