1 <!-- template header.html -->
7 {% if request.user.is_authenticated %}
8 <a href="{% url users %}{{ request.user.id }}/{{ request.user.username }}/">{{ request.user.username }}</a> {% get_score_badge request.user %}
9 <a href="{% url logout %}">{% trans "logout" %}</a>
11 <a href="{% url auth_signin %}">{% trans "login" %}</a>
13 <a href="{% url about %}">{% trans "about" %}</a>
14 <a href="{% url faq %}">{% trans "faq" %}</a>
16 <table width="100%" border="0" cellspacing="0" cellpadding="0">
20 <a href="{% url index %}">
21 <img src="{% media "/media/images/logo.png" %}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
25 <td width="77%" valign="bottom">
27 <a id="nav_questions" href="{% url questions %}" >{% trans "questions" %}</a>
28 <a id="nav_tags" href="{% url tags %}">{% trans "tags" %}</a>
29 <a id="nav_users" href="{% url users %}">{% trans "users" %}</a>
30 {% if settings.BOOKS_ON %}
31 <a id="nav_books" href="{% url books %}">{% trans "books" %}</a>
33 <a id="nav_badges" href="{% url badges %}">{% trans "badges" %}</a>
34 <a id="nav_unanswered" href="{% url unanswered %}">{% trans "unanswered questions" %}</a>
36 <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
45 <table width="100%" border="0" cellpadding="0" cellspacing="0" class="content">
47 <td align="center" valign="middle">
48 <form action="{% url search %}" method="get">
50 <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
51 <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
54 <input id="type-question" type="radio" value="question" name="t"
55 checked="checked" /><label for="type-question">{% trans "questions" %}</label>
56 <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
57 <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
65 <!-- end template header.html -->