diff options
-rw-r--r-- | static/website/templates/ajax-keyword-search.html | 6 | ||||
-rw-r--r-- | static/website/templates/ajax-time-search.html | 6 | ||||
-rw-r--r-- | static/website/templates/filter.html | 6 | ||||
-rw-r--r-- | static/website/templates/index.html | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/static/website/templates/ajax-keyword-search.html b/static/website/templates/ajax-keyword-search.html index 234332a..5ccc236 100644 --- a/static/website/templates/ajax-keyword-search.html +++ b/static/website/templates/ajax-keyword-search.html @@ -12,7 +12,7 @@ <tr> <td> <span href="#" class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> - {{ question.category|truncatechars:15 }} + {{ question.category|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -21,7 +21,7 @@ <td> <span class="tutorial" data-toggle="tooltip" data-placement="top" title="{{ question.tutorial}}"> - {{ question.tutorial|truncatechars:15 }} + {{ question.tutorial|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -46,7 +46,7 @@ <td> <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> - <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:45 }}</a> + <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:40 }}</a> </span> </td> diff --git a/static/website/templates/ajax-time-search.html b/static/website/templates/ajax-time-search.html index 234332a..5ccc236 100644 --- a/static/website/templates/ajax-time-search.html +++ b/static/website/templates/ajax-time-search.html @@ -12,7 +12,7 @@ <tr> <td> <span href="#" class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> - {{ question.category|truncatechars:15 }} + {{ question.category|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -21,7 +21,7 @@ <td> <span class="tutorial" data-toggle="tooltip" data-placement="top" title="{{ question.tutorial}}"> - {{ question.tutorial|truncatechars:15 }} + {{ question.tutorial|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -46,7 +46,7 @@ <td> <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> - <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:45 }}</a> + <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:40 }}</a> </span> </td> diff --git a/static/website/templates/filter.html b/static/website/templates/filter.html index 86a826c..7c48cc6 100644 --- a/static/website/templates/filter.html +++ b/static/website/templates/filter.html @@ -85,7 +85,7 @@ <tr> <td> <span href="#" class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> - {{ question.category|truncatechars:15 }} + {{ question.category|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -94,7 +94,7 @@ <td> <span class="tutorial" data-toggle="tooltip" data-placement="top" title="{{ question.tutorial}}"> - {{ question.tutorial|truncatechars:15 }} + {{ question.tutorial|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -119,7 +119,7 @@ <td> <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> - <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:45 }}</a> + <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:40 }}</a> </span> </td> diff --git a/static/website/templates/index.html b/static/website/templates/index.html index cb5f3df..34fcf15 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -15,7 +15,7 @@ <tr> <td> <span href="#" class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> - {{ question.category|truncatechars:15 }} + {{ question.category|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -24,7 +24,7 @@ <td> <span class="tutorial" data-toggle="tooltip" data-placement="top" title="{{ question.tutorial}}"> - {{ question.tutorial|truncatechars:15 }} + {{ question.tutorial|truncatechars:12 }} </span> <a class="pull-right" href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> @@ -49,7 +49,7 @@ <td> <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> - <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:45 }}</a> + <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:40 }}</a> </span> </td> |