summaryrefslogtreecommitdiffstats
path: root/templates/header.html
diff options
context:
space:
mode:
authorroot <root@u15356270.onlinehome-server.com>2009-11-13 20:18:31 -0500
committerroot <root@u15356270.onlinehome-server.com>2009-11-13 20:31:16 -0500
commit40b5c06085fe3d079094e8ef779a7b119586f9e8 (patch)
tree5a3edfb81cc137dbc877f75f9bde80e9720b3ba0 /templates/header.html
parent2022b772a01f36fa74de002b5370dd70b6c051ba (diff)
downloadaskbot-40b5c06085fe3d079094e8ef779a7b119586f9e8.tar.gz
askbot-40b5c06085fe3d079094e8ef779a7b119586f9e8.tar.bz2
askbot-40b5c06085fe3d079094e8ef779a7b119586f9e8.zip
better comments, email subscriptions, corrected view counter, some ie7 issues, wiki optional with settings.WIKI_ON, site can be mounted on arbitrary url prefix, english language improvements, added feedback form, versioned css and js files to force browser cache reload when settings.RESOURCE_REVISION is incremented , other fixes
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html28
1 files changed, 13 insertions, 15 deletions
diff --git a/templates/header.html b/templates/header.html
index e1097802..42074763 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -4,23 +4,21 @@
<div id="roof">
<div id="navBar">
<div id="top">
- <!--<div id="header">-->
- {% if request.user.is_authenticated %}
- <a href="{% url users %}{{ request.user.id }}/{{ request.user.username }}/">{{ request.user.username }}</a> {% get_score_badge request.user %}
- <a href="{% url logout %}">{% trans "logout" %}</a>
- {% else %}
- <a href="{% url user_signin %}">{% trans "login" %}</a>
- {% endif %}
- <a href="{% url about %}">{% trans "about" %}</a>
- <a href="{% url faq %}">{% trans "faq" %}</a>
- <!--</div>-->
+ {% if request.user.is_authenticated %}
+ <a href="{% url users %}{{ request.user.id }}/{{ request.user.username }}/">{{ request.user.username }}</a> {% get_score_badge request.user %}
+ <a href="{% url logout %}">{% trans "logout" %}</a>
+ {% else %}
+ <a href="{% url user_signin %}">{% trans "login" %}</a>
+ {% endif %}
+ <a href="{% url about %}">{% trans "about" %}</a>
+ <a href="{% url faq %}">{% trans "faq" %}</a>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="23%">
<div id="logo">
- <a href="/">
- <img src="/content/images/logo.png" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
+ <a href="{% url index %}">
+ <img src="{% href "/content/images/logo.png" %}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
</a>
</div>
</td>
@@ -60,9 +58,9 @@
</div>
<div class="options">
<input id="type-question" type="radio" value="question" name="t"
- checked="checked" />{% trans "questions" %}
- <input id="type-tag" type="radio" value="tag" name="t" />{% trans "tags" %}
- <input id="type-user" type="radio" value="user" name="t" />{% trans "users" %}
+ checked="checked" /><label for="type-question">{% trans "questions" %}</label>
+ <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
+ <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
</div>
</form>
</td>