diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-08-14 21:56:33 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-08-14 21:56:33 -0400 |
commit | 0b91db5254d5965f91cb0151e50abe2a3b93c81d (patch) | |
tree | 3763d4cf35adc924f2e719063fb94dec3435577f | |
parent | 2f3f90f091212084cb14f57e5d6cea9db4e0a574 (diff) | |
download | askbot-0b91db5254d5965f91cb0151e50abe2a3b93c81d.tar.gz askbot-0b91db5254d5965f91cb0151e50abe2a3b93c81d.tar.bz2 askbot-0b91db5254d5965f91cb0151e50abe2a3b93c81d.zip |
added link to site settings to the header template
-rwxr-xr-x | .gitignore | 2 | ||||
-rw-r--r-- | askbot/skins/default/templates/header.html | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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> |