{% import "macros.html" as macros %} {% cache 600 "scope_sort_tabs" search_tags request.user scope sort query context.page context.page_size language_code %}
{% trans %}In:{% endtrans %} {% trans %}all{% endtrans %} {% trans %}unanswered{% endtrans %} {% if request.user.is_authenticated() %} {% trans %}followed{% endtrans %} {% endif %}
{% trans %}Sort by:{% endtrans %} {% if show_sort_by_relevance %} {% set asc_relevance_tooltip = gettext('most relevant questions') %} {% set desc_relevance_tooltip = gettext('click to see most relevant questions') %} {% set relevance_label = gettext('relevance') %} {% if query %} {{relevance_label}} ▼ {% else %} href="?sort=relevance-desc" class="off" title="{{desc_relevance_tooltip}}">{{relevance_label}} {% endif %} {% endif %} {% endif %} {{macros.reversible_sort_button( button_sort_criterium = 'age', label = gettext('by date'), asc_tooltip = gettext('click to see the oldest questions'), desc_tooltip = gettext('click to see the newest questions'), current_sort_method = sort ) }} {{macros.reversible_sort_button( button_sort_criterium = 'activity', label = gettext('by activity'), asc_tooltip = gettext('click to see the least recently updated questions'), desc_tooltip = gettext('click to see the most recently updated questions'), current_sort_method = sort ) }} {{macros.reversible_sort_button( button_sort_criterium = 'answers', label = gettext('by answers'), asc_tooltip = gettext('click to see the least answered questions'), desc_tooltip = gettext('click to see the most answered questions'), current_sort_method = sort ) }} {{macros.reversible_sort_button( button_sort_criterium = 'votes', label = gettext('by votes'), asc_tooltip = gettext('click to see least voted questions'), desc_tooltip = gettext('click to see most voted questions'), current_sort_method = sort ) }}
{% endcache %}