{% extends "base.html" %} {% load extra_tags %} {% load i18n %} {% load humanize %} {% load extra_filters %} {% load smart_if %} {% block title %}{% spaceless %}{% trans "Questions" %}{% endspaceless %}{% endblock %} {% block forejs %} {% endblock %} {% block content %}
{% comment %}
{% if searchtag %} {% trans "Found by tags" %} {% else %} {% if searchtitle %} {% if settings.USE_SPHINX_SEARCH %} {% trans "Search results" %} {% else %} {% trans "Found by title" %} {% endif %} {% else %} {% if is_unanswered %} {% trans "Unanswered questions" %} {% else %} {% trans "All questions" %} {% endif %} {% endif %} {% endif %}

{% endcomment %}
{% trans "Pick:" %} {% trans "all" %} {% trans "unanswered" %} {% if request.user.is_authenticated %} {% trans "favorite" %} {% endif %}
{% trans "Sort by:" %} {% if sort == "oldest" %} {% trans "oldest" %} {% else %} {% if sort == "latest" %} {% trans "newest" %} {% else %} {% trans "newest" %} {% endif %} {% endif %} {% if sort == "inactive" %} {% trans "inactive" %} {% else %} {% if sort == "active" %} {% trans "active" %} {% else %} {% trans "active" %} {% endif %} {% endif %} {% if sort == "coldest" %} {% trans "coldest" %} {% else %} {% if sort == "hottest" %} {% trans "hottest" %} {% else %} {% trans "hottest" %} {% endif %} {% endif %} {% if sort == "leastvoted" %} {% trans "unpopular" %} {% else %} {% if sort == "mostvoted" %} {% trans "popular" %} {% else %} {% trans "popular" %} {% endif %} {% endif %}
{% include "question_list.html" %} {% if questions_count == 0 %}

{% if scope == "unanswered" %} {% trans "There are no unanswered questions in this selection" %} {% endif %} {% if scope == "favorite" %} {% trans "No favorite questions here. " %} {% trans "Please bookmark some questions with a star and find them here later." %} {% endif %} {% if scope == "all" %} {% trans "Did not find anything? Please feel free to ask your question!" %} {% endif %}

{% else %}

{% trans "Did not find what you were looking for?" %} {% trans "Please, post your question!" %}

{% endif %}
{% endblock %} {% block tail %}
{% cnprog_paginator context %}
{% cnprog_pagesize context %}
{% endblock %} {% block sidebar %}
{% if searchtag %} {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num and searchtag as tagname %}have total {{q_num}} questions tagged {{tagname}}{% plural %}have total {{q_num}} questions tagged {{tagname}}{% endblocktrans %} {% else %} {% if searchtitle %} {% if settings.USE_SPHINX_SEARCH %} {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} have total {{q_num}} questions containing {{searchtitle}} in full text {% plural %} have total {{q_num}} questions containing {{searchtitle}} in full text {% endblocktrans %} {% else %} {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} have total {{q_num}} questions containing {{searchtitle}} {% plural %} have total {{q_num}} questions containing {{searchtitle}} {% endblocktrans %} {% endif %} {% else %} {% if is_unanswered %} {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} have total {{q_num}} unanswered questions {% plural %} have total {{q_num}} unanswered questions {% endblocktrans %} {% else %} {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} have total {{q_num}} questions {% plural %} have total {{q_num}} questions {% endblocktrans %} {% endif %} {% endif %} {% endif %}

{% ifequal tab_id "latest" %} {% trans "latest questions info" %} {% endifequal %} {% ifequal tab_id "active" %} {% trans "Questions are sorted by the time of last update." %} {% trans "Most recently answered ones are shown first." %} {% endifequal %} {% ifequal tab_id "hottest" %} {% trans "Questions sorted by number of responses." %} {% trans "Most answered questions are shown first." %} {% endifequal %} {% ifequal tab_id "mostvoted" %} {% trans "Questions are sorted by the number of votes." %} {% trans "Most voted questions are shown first." %} {% endifequal %}

{% if request.user.is_authenticated %} {% include "tag_selector.html" %} {% endif %}

{% trans "Related tags" %}

{% for tag in tags %} × {{ tag.used_count|intcomma }}
{% endfor %}
{% endblock %}