]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_list/count.html
added number of answers to the question list pages
[osqa.git] / forum / skins / default / templates / question_list / count.html
index d1cf227609953e716a7a47a424c6584a470ef3dc..5108a8431c4338e48d729af3c253b4b0b0da6161 100644 (file)
@@ -2,9 +2,21 @@
 {% load humanize %}\r
 \r
 <div class="boxC">\r
-               <div class="questions-count">{{ questions_count }}</div>\r
-               <p>{{ list_description }}</p>\r
+    <div class="questions-count">\r
+        {{ questions_count }}<span style="color:black;font-size:14px;margin-left:5px">{{ list_description }}</span>\r
+    </div>\r
+\r
+\r
+    {% if answer_count %}\r
+    <div class="questions-count" style="color:green">\r
+        {{ answer_count }}<span style="color:black;font-size:14px;margin-left:5px">answers</span>\r
+    </div>\r
+\r
+    {% endif %}\r
+\r
+    <div>\r
         <p class="nomargin">\r
-        {{ sort_description|safe }}\r
+            {{ sort_description|safe }}\r
         </p>\r
+    </div>\r
 </div>
\ No newline at end of file