Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gin
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
gin
Commits
5fa73b82
Commit
5fa73b82
authored
4 months ago
by
Norman Kämper-Leymann
Committed by
Sascha Eggenberger
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
#3475361
Fix relative links when Drupal project resides in a sub directory
parent
0c0ef605
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!518
Issue 3480661: Add padding to bottom of ckeditor content.
,
!501
#3475361 Fix relative links when Drupal project resides in a sub directory
,
!228
Issue #3342164: Remove implicit dependency on node module for gin content form
Pipeline
#289536
passed
4 months ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/navigation/navigation--gin.html.twig
+2
-2
2 additions, 2 deletions
templates/navigation/navigation--gin.html.twig
templates/navigation/toolbar--gin.html.twig
+1
-1
1 addition, 1 deletion
templates/navigation/toolbar--gin.html.twig
with
3 additions
and
3 deletions
templates/navigation/navigation--gin.html.twig
+
2
−
2
View file @
5fa73b82
...
...
@@ -13,11 +13,11 @@
<ul
class=
"toolbar-menu"
data-once=
"toolbar-menu"
aria-labelledby=
"menu--logo"
>
<li
class=
"toolbar-menu__item toolbar-menu__item--level-1"
>
{%
if
icon_path
%}
<a
class=
"toolbar-link"
href=
"
/
"
>
<a
class=
"toolbar-link"
href=
"
{{
path
(
'<front>'
)
}}
"
>
<img
alt=
"
{{
'Home'
|
t
}}
"
src=
"
{{
file_url
(
icon_path
)
}}
"
loading=
"eager"
/>
</a>
{%
else
%}
<a
href=
"
/
"
class=
"toolbar-link toolbar-link--has-icon toolbar-link--gin-home"
>
<a
href=
"
{{
path
(
'<front>'
)
}}
"
class=
"toolbar-link toolbar-link--has-icon toolbar-link--gin-home"
>
<span>
{{
'Home'
|
t
}}
</span>
</a>
{%
endif
%}
...
...
This diff is collapsed.
Click to expand it.
templates/navigation/toolbar--gin.html.twig
+
1
−
1
View file @
5fa73b82
...
...
@@ -41,7 +41,7 @@
<div
{{
tab.attributes.addClass
(
'toolbar-tab'
,
user_menu
,
tab.link
[
'#id'
]
?
'toolbar-tab--'
~
tab.link
[
'#id'
]
:
null
)
}}
>
{%
endif
%}
{%
if
tab.link
[
'#id'
]
==
'toolbar-item-administration'
%}
<a
class=
"toolbar-menu__logo"
href=
"
/
admin
/
content"
aria-label=
"
{{
'Toolbar Menu Logo'
|
t
}}
"
>
<a
class=
"toolbar-menu__logo"
href=
"
{{
path
(
'system.
admin
_
content
'
)
}}
"
aria-label=
"
{{
'Toolbar Menu Logo'
|
t
}}
"
>
<span
class=
"visually-hidden"
>
{{
'Toolbar Menu Logo'
|
t
}}
</span>
</a>
{{
tab.link
}}
...
...
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