Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Michel Rouly
research-questions
Commits
5ec40258
Commit
5ec40258
authored
Mar 21, 2014
by
Jean Michel Rouly
Browse files
Updated links to allow stacking of filters
parent
36184299
Changes
1
Show whitespace changes
Inline
Side-by-side
researchquestions/website/templates/index.html
View file @
5ec40258
...
...
@@ -27,13 +27,21 @@ Homepage
</div>
<div
class=
"col-sm-4"
>
<a
href=
"{% url 'sort_by_date' %}"
>
{% if filter %}
<a
href=
"{% url 'filter' section=filter sort='date' %}"
>
{% else %}
<a
href=
"{% url 'sort' sort='date' %}"
>
{% endif %}
Sort by Date
</a>
</div>
<div
class=
"col-sm-4"
>
<a
href=
"{% url 'sort_by_comments' %}"
>
{% if filter %}
<a
href=
"{% url 'filter' section=filter sort='comments' %}"
>
{% else %}
<a
href=
"{% url 'sort' sort='comments' %}"
>
{% endif %}
Sort by Comments
</a>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment