summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorashwinishinde2015-07-28 16:48:40 +0530
committerashwinishinde2015-07-28 16:48:40 +0530
commitcd94bac8a13cf4c444b5ff857cd4356659c196c1 (patch)
tree88861c2c9cbbd4d2300cfd581c01d46566c418f1
parent3bece40212e6824108703ed5749a04fc976c0d5e (diff)
downloadFOSSEE-Forum-cd94bac8a13cf4c444b5ff857cd4356659c196c1.tar.gz
FOSSEE-Forum-cd94bac8a13cf4c444b5ff857cd4356659c196c1.tar.bz2
FOSSEE-Forum-cd94bac8a13cf4c444b5ff857cd4356659c196c1.zip
Subject: URL should not contain Capital letter
Description:
-rw-r--r--static/website/templates/filter.html2
-rw-r--r--static/website/templates/index.html4
-rw-r--r--static/website/templates/questions.html2
-rw-r--r--static/website/templates/recent-questions.html2
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>