Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
e120bf17
Commit
e120bf17
authored
Sep 20, 2011
by
Cynddl
Browse files
[fix] Add a current item in the menu for view pages
parent
93df2de5
Changes
1
Show whitespace changes
Inline
Side-by-side
templates/base.html
View file @
e120bf17
...
...
@@ -35,7 +35,7 @@
<ul
id=
"nav"
>
<li><a
{%
if
request.path =
=
'/'
%}
id=
"current"
{%
endif
%}
href=
"{%root_url%}/"
>
{% trans "Home" %}
</a></li>
<li><a
{%
if
request.path =
=
'/
list
/'
%}
id=
"current"
{%
endif
%}
href=
"{%root_url%}/list"
>
{% trans "Violations" %}
</a></li>
<li><a
{%
if
request.path =
=
'/
list
/'
or
'/
view
'
in
request.path
%}
id=
"current"
{%
endif
%}
href=
"{%root_url%}/list"
>
{% trans "Violations" %}
</a></li>
<li><a
{%
if
request.path =
=
'/
about
/'
%}
id=
"current"
{%
endif
%}
href=
"{%root_url%}/about"
>
{% trans "What's Net Neutrality" %}
</a></li>
<li><a
{%
if
request.path =
=
'/
start
/'
%}
id=
"current"
{%
endif
%}
href=
"{%root_url%}/start"
>
{% trans "Start Monitoring" %}
</a></li>
<li><a
{%
if
request.path =
=
'/
contact
/'
%}
id=
"current"
{%
endif
%}
href=
"{%root_url%}/contact"
>
{% trans "Contact" %}
</a></li>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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