summaryrefslogtreecommitdiffstats
path: root/templates/header.html
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-12 15:26:32 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-12 15:26:32 -0400
commit4db17f6d5f07c551a2161898d74aae7208bd0229 (patch)
tree5e9041d10f27b47489344b5dc892c5ec223e30cf /templates/header.html
parent425e4e5d6edfbfa93a8e940ebae26e8d1dc1292b (diff)
downloadaskbot-4db17f6d5f07c551a2161898d74aae7208bd0229.tar.gz
askbot-4db17f6d5f07c551a2161898d74aae7208bd0229.tar.bz2
askbot-4db17f6d5f07c551a2161898d74aae7208bd0229.zip
merged Bruno url translations, removed his local mods, added settings.BOOKS_ON, validated more templates
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/header.html b/templates/header.html
index 077de586..e1097802 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -26,14 +26,12 @@
</td>
<td width="77%" valign="bottom">
<div class="nav">
- <div class="focus">
- <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
- </div>
-
<a id="nav_questions" href="{% url questions %}" >{% trans "questions" %}</a>
<a id="nav_tags" href="{% url tags %}">{% trans "tags" %}</a>
<a id="nav_users" href="{% url users %}">{% trans "users" %}</a>
- <!--<a id="nav_books" href="{% url books %}">{% trans "books" %}</a>-->
+ {% if settings.BOOKS_ON %}
+ <a id="nav_books" href="{% url books %}">{% trans "books" %}</a>
+ {% endif %}
<a id="nav_badges" href="{% url badges %}">{% trans "badges" %}</a>
<a id="nav_unanswered" href="{% url unanswered %}">{% trans "unanswered questions" %}</a>
@@ -42,6 +40,9 @@
<a id="nav_profile" href="{% url user %}{{ request.user.id }}/{{ request.user.username }}/">{% trans "my profile" %}</a>
{% endif %}
{% endcomment %}
+ <div class="focus">
+ <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
+ </div>
</div>
</td>
@@ -52,7 +53,7 @@
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="content">
<tr>
<td align="center" valign="middle">
- <form action="{% url search %}" method="GET">
+ <form action="{% url search %}" method="get">
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />