]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_list/count.html
Fixes OSQA-88 (Improve "hottest" functionality on front page), and makes some improve...
[osqa.git] / forum / skins / default / templates / question_list / count.html
index d1cf227609953e716a7a47a424c6584a470ef3dc..cf347ed16a09929f9af342f9c8af016f4852084f 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">\r
+        {{ answer_count }}<span style="color:black;font-size:14px;margin-left:5px">{{ answer_description }}</span>\r
+    </div>\r
+\r
+    {% endif %}\r
+\r
+    <div>\r
         <p class="nomargin">\r
-        {{ sort_description|safe }}\r
+            {{ questions.paginator.sort_description }}\r
         </p>\r
+    </div>\r
 </div>
\ No newline at end of file