Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Web
Donate Static
Commits
02aaae15
Commit
02aaae15
authored
Dec 05, 2018
by
Hiro
🏄
Browse files
Update navbar
parent
07e37f40
Changes
2
Hide whitespace changes
Inline
Side-by-side
i18n/contents.pot
View file @
02aaae15
...
...
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-05 18:5
2
+CET\n"
"POT-Creation-Date: 2018-12-05 18:5
6
+CET\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
...
...
templates/navbar.html
View file @
02aaae15
...
...
@@ -16,7 +16,7 @@
{% set menubag = 'menu+' + this.alt %}
{% for id, item in bag(menubag).items() %}
<li
{%
if
this.is_child_of
(
item.path
)
%}
class=
"nav-item active"
{%
else
%}
class=
"nav-item"
{%
endif
%}
>
<a
class=
"nav-link"
href=
"{{ item.path }}"
>
{{ item.label }}
<a
class=
"nav-link"
href=
"{{ item.path
|url
}}"
>
{{ item.label }}
{% if this.is_child_of(item.path) %}
<span
class=
"sr-only"
>
(current)
</span>
{% endif %}
...
...
Write
Preview
Supports
Markdown
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