summaryrefslogtreecommitdiffstats
path: root/askbot/skins/default/templates/blocks/secundary_header.html
blob: 6b0e0878718563a0e8b6d2534de0373782afa335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- template secundary_header.html -->

<div id="secundaryHeader">
    <div class="content-wrapper">
        <a id="homeButton" href="{% url questions %}"></a>
        <div id="scopeWrapper">
            <a class="scope-selector {% if scope == 'all' %}on{% endif %}"
            href="{% url questions %}?scope=all" title="{% trans %}see all questions{% endtrans %}">ALL</a>
            <a class="scope-selector {% if scope == 'unanswered' %}on{% endif %}"
            href="{% url questions %}?scope=unanswered&amp;sort=answers-asc" title="{% trans %}see unanswered questions{% endtrans %}">UNANSWERED</a>
            {% if request.user.is_authenticated() %} 
                <a class="scope-selector {% if scope == 'favorite' %}on{% endif %}"
                href="{% url questions %}?scope=favorite" title="{% trans %}see your followed questions{% endtrans %}">FOLLOWED</a>
            {% endif %}
            
            {% include "blocks/input_bar.html" %} {# include search form block #}
        </div>
        <a id="askButton" href="{% url ask %}">{% trans %}ask a question{% endtrans %}</a>
        <div class="clean"></div>
    </div>
</div>