summaryrefslogtreecommitdiffstats
path: root/askbot/skins/default/templates/main_page/questions_loop.html
blob: 7e924e6304f733c2e3cf94dcc8f61a1ab24218f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% import "macros.html" as macros %}
{# cache 0 "questions" questions search_tags scope sort query context.page language_code #}
{% for question_post in questions.object_list %}
    {{macros.question_summary(question_post.thread, question_post, search_state=search_state)}}
{% endfor %}
{% if questions.object_list|length == 0 %}
    {% include "main_page/nothing_found.html" %}
{% else %}
    <div class="evenMore">
        {% trans %}Did not find what you were looking for?{% endtrans %} 
        <a href="{% url ask %}">{% trans %}Please, post your question!{% endtrans %}</a>
    </div>
{% endif %}