Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
community
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Web
community
Merge requests
!62
make translated strings appear in homepage. will-fix:...
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
make translated strings appear in homepage. will-fix:...
emmapeel/community:localize_homepage
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Closed
emmapeel
requested to merge
emmapeel/community:localize_homepage
into
master
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
make translated strings appear in homepage. will-fix:
#172 (closed)
0
0
Merge request reports
Viewing commit
b5cb561e
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b5cb561e
fix the pagenav for showing translated terms
· b5cb561e
emmapeel
authored
3 years ago
templates/pagenav.html
+
1
−
1
Options
@@ -8,7 +8,7 @@
<li
{%
if
this.is_child_of
(
abs_path
)
%}
class=
"nav-item active border-active"
{%
else
%}
class=
"nav-item"
{%
endif
%}
>
{% set elm = site.get(item.path) %}
{% if elm %}
<a
class=
"nav-link"
href=
"{{ elm.path|url }}"
>
{{ item.label }}
<a
class=
"nav-link"
href=
"{{ elm.path|url }}"
>
{{
_(
item.label
)
}}
{% endif %}
{% if this.is_child_of(abs_path) %}
<span
class=
"sr-only"
>
(current)
</span>
Loading