Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bff4984d
Commit
bff4984d
authored
Sep 08, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restored some EE specific links in profile sidebar
parent
bb0cf29b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
app/views/layouts/nav/sidebar/_profile.html.haml
app/views/layouts/nav/sidebar/_profile.html.haml
+23
-0
No files found.
app/views/layouts/nav/sidebar/_profile.html.haml
View file @
bff4984d
...
@@ -28,6 +28,18 @@
...
@@ -28,6 +28,18 @@
=
link_to
profile_account_path
do
=
link_to
profile_account_path
do
%strong
.fly-out-top-item-name
%strong
.fly-out-top-item-name
#{
_
(
'Account'
)
}
#{
_
(
'Account'
)
}
-
if
current_application_settings
.
should_check_namespace_plan?
=
nav_link
(
controller: :billings
)
do
=
sidebar_link
profile_billings_path
,
title:
_
(
'Billing'
)
do
.nav-icon-container
=
custom_icon
(
'credit_card'
)
%span
.nav-item-name
Billing
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller: :billings
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
profile_billings_path
do
%strong
.fly-out-top-item-name
#{
_
(
'Billing'
)
}
-
if
current_application_settings
.
user_oauth_applications?
-
if
current_application_settings
.
user_oauth_applications?
=
nav_link
(
controller:
'oauth/applications'
)
do
=
nav_link
(
controller:
'oauth/applications'
)
do
=
sidebar_link
applications_profile_path
,
title:
_
(
'Applications'
)
do
=
sidebar_link
applications_profile_path
,
title:
_
(
'Applications'
)
do
...
@@ -140,5 +152,16 @@
...
@@ -140,5 +152,16 @@
=
link_to
audit_log_profile_path
do
=
link_to
audit_log_profile_path
do
%strong
.fly-out-top-item-name
%strong
.fly-out-top-item-name
#{
_
(
'Authentication Log'
)
}
#{
_
(
'Authentication Log'
)
}
=
nav_link
(
path:
'profiles#pipeline_quota'
)
do
=
sidebar_link
profile_pipeline_quota_path
,
title:
_
(
'Pipeline quota'
)
do
.nav-icon-container
=
custom_icon
(
'pipeline'
)
%span
.nav-item-name
Pipeline quota
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
path:
'profiles#pipeline_quota'
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
profile_pipeline_quota_path
do
%strong
.fly-out-top-item-name
#{
_
(
'Pipeline quota'
)
}
=
render
'shared/sidebar_toggle_button'
=
render
'shared/sidebar_toggle_button'
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