summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-keyword-search.html
diff options
context:
space:
mode:
authorJayaram Pai2013-12-23 13:58:39 +0530
committerJayaram Pai2013-12-23 13:58:39 +0530
commit764bbe1fde98daf8ba549f4cc3ba5f3273b71ef0 (patch)
tree8a69aecffbb03a87c5a756537f7077f03ea97845 /static/website/templates/ajax-keyword-search.html
parent0047ca833ec32ea4b026a4c495fd6b026927cf54 (diff)
downloadFOSSEE-Forum-764bbe1fde98daf8ba549f4cc3ba5f3273b71ef0.tar.gz
FOSSEE-Forum-764bbe1fde98daf8ba549f4cc3ba5f3273b71ef0.tar.bz2
FOSSEE-Forum-764bbe1fde98daf8ba549f4cc3ba5f3273b71ef0.zip
added reply count, link option for nicedit, change in date format
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>