diff options
Diffstat (limited to 'static/website')
-rw-r--r-- | static/website/templates/filter.html | 2 | ||||
-rw-r--r-- | static/website/templates/index.html | 4 | ||||
-rw-r--r-- | static/website/templates/questions.html | 2 | ||||
-rw-r--r-- | static/website/templates/recent-questions.html | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/static/website/templates/filter.html b/static/website/templates/filter.html index a3ff7f7..14ccbe5 100644 --- a/static/website/templates/filter.html +++ b/static/website/templates/filter.html @@ -41,7 +41,7 @@ <tr {% if question.id == qid %}class="parent-filter"{% endif %}> <td> <span class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category }}"> - <a class="pull-left" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> + <a class="pull-left" href="{% url 'website:filter' question.category|lower %}?qid={{ question.id }}"> {{ question.category|truncatechars:12 }} </a> </span> </td> diff --git a/static/website/templates/index.html b/static/website/templates/index.html index ad67aec..5149099 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -110,7 +110,7 @@ input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button: <div class="panel-body"> <table class="table table-bordered table-hover"> <th> FOSS </th> - <!--<th> Tutorial</th>--> + <th> Question </th> <th> Date</th> <th> Views</th> @@ -121,7 +121,7 @@ input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button: <td> <span class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> - <a class="pull-left" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> + <a class="pull-left" href="{% url 'website:filter' question.category|lower %}?qid={{ question.id }}"> {{ question.category|truncatechars:12 }} </a> diff --git a/static/website/templates/questions.html b/static/website/templates/questions.html index 292437f..3c3d355 100644 --- a/static/website/templates/questions.html +++ b/static/website/templates/questions.html @@ -21,7 +21,7 @@ <td> <span class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> - <a class="pull-left" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> + <a class="pull-left" href="{% url 'website:filter' question.category|lower %}?qid={{ question.id }}"> {{ question.category|truncatechars:12 }} </a> diff --git a/static/website/templates/recent-questions.html b/static/website/templates/recent-questions.html index 3461908..cdb0971 100644 --- a/static/website/templates/recent-questions.html +++ b/static/website/templates/recent-questions.html @@ -20,7 +20,7 @@ <span href="#" class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}"> {{ question.category|truncatechars:12 }} </span> - <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> + <a class="pull-right" href="{% url 'website:filter' question.category|lower %}?qid={{ question.id }}"> <span class="glyphicon glyphicon-search"></span> </a> </td> |