summaryrefslogtreecommitdiffstats
path: root/askbot/templates/main_page/nothing_found.html
blob: 98629476edae4a6c2e5e3f0151f381a591dce1dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{# todo: add tips to widen selection #}
<p class="evenMore" style="padding-top:30px;text-align:center;">
{% if search_state.scope == "unanswered" %}
    {% trans %}There are no unanswered questions here{% endtrans %}
{% endif %}
{% if search_state.scope == "followed" %}
    {% trans %}No questions here. {% endtrans %}
    {% trans %}Please follow some questions or follow some users.{% endtrans %}
{% endif %}
</p>
{% if search_state.query or search_state.tags or search_state.author %}
<p class="evenMore" style="text-align:center">
    {% trans %}You can expand your search by {% endtrans %}
    {% if reset_method_count > 1 %}
        {% if search_state.author %}
            <a href="{{ search_state.remove_author().full_url() }}">{% trans %}resetting author{% endtrans %}</a>
        {% endif %}
        {% if search_state.tags %}{% if search_state.author and search_state.query %}, {% elif search_state.author %}{% trans %} or {% endtrans %}{% endif %}
            <a href="{{ search_state.remove_tags().full_url() }}">{% trans %}resetting tags{% endtrans %}</a>
        {% endif %}
        {% if search_state.query %}{% trans %} or {% endtrans %}
            <a href="{% url questions %}">{% trans %}starting over{% endtrans %}</a>
        {% endif %}
    {% else %}
        <a href="{% url questions %}">{% trans %}starting over{% endtrans %}</a>
    {% endif %}
</p>
{% endif %}
<p class="evenMore" style="text-align:center">
<a href="{% url ask %}">{% trans %}Please always feel free to ask your question!{% endtrans %}</a>
</p>