summaryrefslogtreecommitdiffstats
path: root/askbot/skins/old/templates/main_page/nothing_found.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/skins/old/templates/main_page/nothing_found.html')
-rw-r--r--askbot/skins/old/templates/main_page/nothing_found.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/askbot/skins/old/templates/main_page/nothing_found.html b/askbot/skins/old/templates/main_page/nothing_found.html
new file mode 100644
index 00000000..50f2f340
--- /dev/null
+++ b/askbot/skins/old/templates/main_page/nothing_found.html
@@ -0,0 +1,31 @@
+{# todo: add tips to widen selection #}
+<p class="evenMore" style="padding-top:30px;text-align:center;">
+{% if scope == "unanswered" %}
+ {% trans %}There are no unanswered questions here{% endtrans %}
+{% endif %}
+{% if scope == "favorite" %}
+ {% trans %}No questions here. {% endtrans %}
+ {% trans %}Please star (bookmark) some questions or follow some users.{% endtrans %}
+{% endif %}
+</p>
+{% if query or search_tags or author_name %}
+<p class="evenMore" style="text-align:center">
+ {% trans %}You can expand your search by {% endtrans %}
+ {% if reset_method_count > 1 %}
+ {% if author_name %}
+ <a href="{% url questions %}?reset_author=true">{% trans %}resetting author{% endtrans %}</a>
+ {% endif %}
+ {% if search_tags %}{% if author_name and query %}, {% elif author_name %}{% trans %} or {% endtrans %}{% endif %}
+ <a href="{% url questions %}?reset_tags=true">{% trans %}resetting tags{% endtrans %}</a>
+ {% endif %}
+ {% if query %}{% trans %} or {% endtrans %}
+ <a href="{% url questions %}?start_over=true">{% trans %}starting over{% endtrans %}</a>
+ {% endif %}
+ {% else %}
+ <a href="{% url questions %}?start_over=true">{% 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>