Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
open-source
MetaGer
Commits
e043b72b
Commit
e043b72b
authored
4 years ago
by
Davide Aprea
Browse files
Options
Downloads
Patches
Plain Diff
added language awareness for foci
parent
cb7dba04
No related branches found
Branches containing commit
No related tags found
2 merge requests
!1739
Development
,
!1737
Resolve "fixing sidebar settings"
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/views/parts/sidebar.blade.php
+13
-1
13 additions, 1 deletion
resources/views/parts/sidebar.blade.php
with
13 additions
and
1 deletion
resources/views/parts/sidebar.blade.php
+
13
−
1
View file @
e043b72b
...
...
@@ -122,6 +122,17 @@
<span
class=
"caret"
></span>
</label>
<ul
class=
"metager-dropdown-content"
>
@if(LaravelLocalization::getCurrentLocale() == "en")
<li>
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
settings
?
fokus=
web&url="
.
urlencode
(
url
()
-
>
full())) }}" >{{ trans('index.foki.web') }}
</a>
</li>
<li>
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
settings
?
fokus=
bilder&url="
.
urlencode
(
url
()
-
>
full())) }}" >{{ trans('index.foki.bilder') }}
</a>
</li>
<li>
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
settings
?
fokus=
produkte&url="
.
urlencode
(
url
()
-
>
full())) }}" >{{ trans('index.foki.produkte') }}
</a>
</li>
@else
<li>
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
settings
?
fokus=
web&url="
.
urlencode
(
url
()
-
>
full())) }}" >{{ trans('index.foki.web') }}
</a>
</li>
...
...
@@ -137,7 +148,8 @@
<li>
<a
href=
"{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "
/
meta
/
settings
?
fokus=
science&url="
.
urlencode
(
url
()
-
>
full())) }}" >{{ trans('index.foki.science') }}
</a>
</li>
</ul>
@endif
</ul>
</li>
<li
class=
"metager-dropdown"
>
<input
id=
"languagesToggle"
class=
"sidebarCheckbox"
type=
"checkbox"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment