]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_list/item.html
Adding ability to convert comments to answers.
[osqa.git] / forum / skins / default / templates / question_list / item.html
index 19cbb36fd860a7f1471d05ab1e7284aa7fdcb77e..4eb3c3bc1c0f70d248a879c210ed3153cc5ac41e 100644 (file)
@@ -15,7 +15,7 @@
             <div>{% ifequal question.answer_count 1 %}{% trans "answer" %}{% else %}{% trans "answers" %}{% endifequal %}</div>\r
         </div>\r
         <div class="views">\r
-             <div class="item-count">{{question.view_count|cnprog_intword|safe}}</div>\r
+             <div class="item-count">{{question.view_count|decorated_int|safe}}</div>\r
              <div>{% ifequal question.view_count 1 %}{% trans "view" %}{% else %}{% trans "views" %}{% endifequal %}</div>\r
         </div>\r
     </div>\r
@@ -28,7 +28,7 @@
         </div>\r
 \r
         <div class="tags">{% for tag in question.tagname_list %}\r
-            <a href="{% url tag_questions tag|urlencode %}" title="{% trans "see questions tagged" %} '{{ tag }}' {% trans "using tags" %}" rel="tag">{{ tag }}</a>{% endfor %}\r
+            <a class="tag-link-{{ tag }}" href="{% url tag_questions tag|urlencode %}" title="{% trans "see questions tagged" %} '{{ tag }}'" rel="tag">{{ tag }}</a>{% endfor %}\r
         </div>\r
     </div>\r
 \r