diff options
Diffstat (limited to 'static/website/templates/index.html')
-rw-r--r-- | static/website/templates/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html index f78d952..5bcec04 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -74,7 +74,7 @@ <small class="category"> {{ category.description }} </small> - {% latest_question category %} + <a class="btn btn-xs btn-block btn-success" href="{% url 'website:new_question' %}?category={{ category.id|urlencode }}">Ask new question</a> @@ -130,7 +130,7 @@ <tr> <td></td> <td> - <span class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> + <span class="category" data-toggle="tooltip" data-placement="top" > <a class="pull-left" href="{% url 'website:filter' question.category|lower %}?qid={{ question.id }}"> {{ question.category|truncatechars:12 }} @@ -140,7 +140,7 @@ </td> <td> - <span class="question" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> + <span class="question" data-toggle="tooltip" data-placement="top" > <a href="{% url 'website:get_question' question.id %}{% prettify question.title %}">{{ question.title|truncatechars:40 }}</a> </span> </td> @@ -162,7 +162,7 @@ </td> <td> - <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.user }}"> + <span class="title" data-toggle="tooltip" data-placement="top" > {{ question.user|truncatechars:10 }} </span> </td> |