summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-08-14 21:56:33 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-08-14 21:56:33 -0400
commit0b91db5254d5965f91cb0151e50abe2a3b93c81d (patch)
tree3763d4cf35adc924f2e719063fb94dec3435577f
parent2f3f90f091212084cb14f57e5d6cea9db4e0a574 (diff)
downloadaskbot-0b91db5254d5965f91cb0151e50abe2a3b93c81d.tar.gz
askbot-0b91db5254d5965f91cb0151e50abe2a3b93c81d.tar.bz2
askbot-0b91db5254d5965f91cb0151e50abe2a3b93c81d.zip
added link to site settings to the header template
-rwxr-xr-x.gitignore2
-rw-r--r--askbot/skins/default/templates/header.html3
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 232c1cfd..351d1e74 100755
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,5 @@ askbot/fixtures
dist
*.egg-info
build
+askbot/upfiles/*.jpg
+askbot/upfiles/*.gif
diff --git a/askbot/skins/default/templates/header.html b/askbot/skins/default/templates/header.html
index fc166fd2..21957d5f 100644
--- a/askbot/skins/default/templates/header.html
+++ b/askbot/skins/default/templates/header.html
@@ -28,6 +28,9 @@
{% endif %}
<a href="{% url about %}">{% trans "about" %}</a>
<a href="{% url faq %}">{% trans "faq" %}</a>
+ {% if request.user.is_administrator %}
+ <a href="{% url site_settings %}">{% trans "settings" %}</a>
+ {% endif %}
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>