summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-keyword-search.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/ajax-keyword-search.html')
-rw-r--r--static/website/templates/ajax-keyword-search.html31
1 files changed, 22 insertions, 9 deletions
diff --git a/static/website/templates/ajax-keyword-search.html b/static/website/templates/ajax-keyword-search.html
index 2426e55..db9fbc7 100644
--- a/static/website/templates/ajax-keyword-search.html
+++ b/static/website/templates/ajax-keyword-search.html
@@ -2,12 +2,14 @@
<br>
<table class="table table-striped table-bordered table-hover">
<th> FOSS </th>
- <th>TUTORIAL</th>
- <th> MIN</th>
- <th> SEC </th>
- <th> QUESTION</th>
- <th> DATE</th>
- <th> USER</th>
+ <th> Tutorial</th>
+ <th> Min </th>
+ <th> Sec </th>
+ <th> Question</th>
+ <th> Date</th>
+ <th> Views</th>
+ <th> Replies</th>
+ <th> User</th>
{% for question in questions %}
<tr>
<td>
@@ -53,14 +55,25 @@
<td>
<span>
<i>
- {{ question.date_created|date:"y-m-d" }}
+ {{ question.date_created|date:"d-m-y" }}
</i>
</span>
</td>
-
+
<td>
- {{ question.user }}
+ {{ question.views}}
</td>
+
+ <td>
+ {{ question.reply_set.count }}
+ </td>
+
+ <td>
+ <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.user }}">
+ {{ question.user|truncatechars:10 }}
+ </span>
+ </td>
+
</tr>
{% endfor %}
</table>