]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_list/item.html
Adds a couple of options to manage the "accepting answers" workflow.
[osqa.git] / forum / skins / default / templates / question_list / item.html
index e4998488d35816d89c946697ec5480e176a1901a..7d6a117238bd69dd4c3f60e4e3138c99abbb8006 100644 (file)
@@ -9,7 +9,7 @@
             <div class="item-count">{{question.score|intcomma}}</div>\r
             <div>{% trans "votes" %}</div>\r
         </div >\r
-        <div {% if question.answer_accepted %}title="{% trans "this question has an accepted answer" %}"{% endif %} class="status {% if question.answer_accepted %}answered-accepted{% endif %} {% ifequal question.answer_count 0 %}unanswered{% endifequal %}{% ifnotequal question.answer_count 0 %}answered{% endifnotequal %}">\r
+        <div {% if question.accepted_count %}title="{% trans "this question has an accepted answer" %}"{% endif %} class="status {% if question.accepted_count %}answered-accepted{% endif %} {% ifequal question.answer_count 0 %}unanswered{% endifequal %}{% ifnotequal question.answer_count 0 %}answered{% endifnotequal %}">\r
             <div class="item-count">{{question.answer_count|intcomma}}</div>\r
             <div>{% trans "answers" %}</div>\r
         </div>\r