summaryrefslogtreecommitdiffstats
path: root/askbot/templates/question/answer_tab_bar.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/templates/question/answer_tab_bar.html')
-rw-r--r--askbot/templates/question/answer_tab_bar.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/askbot/templates/question/answer_tab_bar.html b/askbot/templates/question/answer_tab_bar.html
new file mode 100644
index 00000000..bebf68b8
--- /dev/null
+++ b/askbot/templates/question/answer_tab_bar.html
@@ -0,0 +1,23 @@
+<div class="tabBar tabBar-answer">
+ <h2 id="questionCount">
+ {% trans counter=answer_count %}
+ {{counter}} Answer
+ {% pluralize %}
+ {{counter}} Answers
+ {% endtrans %}
+ </h2>
+ <div class="tabsA">
+ <span class="label">
+ {% trans %}Sort by ยป{% endtrans %}
+ </span>
+ <a id="oldest" href="{{ question.get_absolute_url() }}?sort=oldest#sort-top"
+ title="{% trans %}oldest answers will be shown first{% endtrans %}"
+ ><span>{% trans %}oldest{% endtrans %}</span></a>
+ <a id="latest" href="{{ question.get_absolute_url() }}?sort=latest#sort-top"
+ title="{% trans %}newest answers will be shown first{% endtrans %}"
+ ><span>{% trans %}newest{% endtrans %}</span></a>
+ <a id="votes" href="{{ question.get_absolute_url() }}?sort=votes#sort-top"
+ title="{% trans %}most voted answers will be shown first{% endtrans %}"
+ ><span>{% trans %}most voted{% endtrans %}</span></a>
+ </div>
+</div>