diff options
Diffstat (limited to 'static/website/templates/ajax-time-search.html')
-rw-r--r-- | static/website/templates/ajax-time-search.html | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/static/website/templates/ajax-time-search.html b/static/website/templates/ajax-time-search.html index 2426e55..0b1673c 100644 --- a/static/website/templates/ajax-time-search.html +++ b/static/website/templates/ajax-time-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.views}} + </td> + <td> - {{ question.user }} + {{ 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> |