Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gredu_labs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
itminedu
gredu_labs
Commits
c19a1a92
Commit
c19a1a92
authored
Mar 16, 2016
by
Vassilis Kanellopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable target in navigation
parent
f9bd5685
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
config/settings/nav.global.php
config/settings/nav.global.php
+1
-0
module/application/templates/navigation/main.twig
module/application/templates/navigation/main.twig
+2
-1
No files found.
config/settings/nav.global.php
View file @
c19a1a92
...
...
@@ -59,6 +59,7 @@ return [
'label'
=>
'Φόρουμ βοήθειας'
,
'href'
=>
'/#forum'
,
'external'
=>
true
,
'target'
=>
'_blank'
,
],
],
...
...
module/application/templates/navigation/main.twig
View file @
c19a1a92
{%
macro
li
(
page
)
%}
<li
role=
"presentation"
class=
"
{%
if
page.active
%}
active
{%
endif
%}{{
page.class
|
default
(
''
)
}}
"
>
<a
href=
"
{{
page.href
}}
"
{%
if
page.id
%}
id=
"
{{
page.id
}}
"
{%
endif
%}
title=
"
{{
page.label
|
striptags
|
e
}}
"
>
<a
href=
"
{{
page.href
}}
"
{%
if
page.id
%}
id=
"
{{
page.id
}}
"
{%
endif
%}
title=
"
{{
page.label
|
striptags
|
e
}}
"
{%
if
page.target
%}
target=
"
{{
page.target
}}
"
{%
endif
%}
>
{%
if
page.icon
%}
<i
class=
"fa fa-
{{
page.icon
}}
"
></i>
{%
endif
%}
...
...
Write
Preview
Markdown
is supported
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