diff options
author | Jayaram Pai | 2013-12-23 13:58:39 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-12-23 13:58:39 +0530 |
commit | 764bbe1fde98daf8ba549f4cc3ba5f3273b71ef0 (patch) | |
tree | 8a69aecffbb03a87c5a756537f7077f03ea97845 /static/website/templates/index.html | |
parent | 0047ca833ec32ea4b026a4c495fd6b026927cf54 (diff) | |
download | FOSSEE-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/index.html')
-rw-r--r-- | static/website/templates/index.html | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html index ea0b43f..1823f4e 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -4,13 +4,14 @@ <h4><u>Recent Questions</u></h4> <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>VIEWS</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> @@ -56,7 +57,7 @@ <td> <span> <i> - {{ question.date_created|date:"y-m-d" }} + {{ question.date_created|date:"d-m-y" }} </i> </span> </td> @@ -64,12 +65,19 @@ <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> {% if total > 10 %} <ul class="pagination pull-right"> |