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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
01248876
Commit
01248876
authored
Jul 04, 2018
by
Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added shortcuts help, i18n
parent
99dea5fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
app/views/help/_shortcuts.html.haml
app/views/help/_shortcuts.html.haml
+6
-0
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+2
-2
app/views/projects/environments/empty.html.haml
app/views/projects/environments/empty.html.haml
+2
-2
No files found.
app/views/help/_shortcuts.html.haml
View file @
01248876
...
...
@@ -179,6 +179,12 @@
%kbd
e
%td
Go to environments
%tr
%td
.shortcut
%kbd
g
%kbd
l
%td
Go to metrics
%tr
%td
.shortcut
%kbd
g
...
...
app/views/layouts/nav/sidebar/_project.html.haml
View file @
01248876
...
...
@@ -211,12 +211,12 @@
-
if
project_nav_tab?
:environments
=
nav_link
(
controller: :environments
,
action:
[
:metrics
,
:metrics_redirect
])
do
=
link_to
metrics_project_environments_path
(
@project
),
title:
'Metrics'
,
class:
'shortcuts-metrics'
do
=
link_to
metrics_project_environments_path
(
@project
),
title:
_
(
'Metrics'
)
,
class:
'shortcuts-metrics'
do
%span
=
_
(
'Metrics'
)
=
nav_link
(
controller: :environments
,
action:
[
:index
,
:folder
,
:show
,
:new
,
:edit
,
:create
,
:update
,
:stop
,
:terminal
])
do
=
link_to
project_environments_path
(
@project
),
title:
'Environments'
,
class:
'shortcuts-environments'
do
=
link_to
project_environments_path
(
@project
),
title:
_
(
'Environments'
)
,
class:
'shortcuts-environments'
do
%span
=
_
(
'Environments'
)
...
...
app/views/projects/environments/empty.html.haml
View file @
01248876
-
page_title
"Metrics"
-
page_title
_
(
"Metrics"
)
.row
.col-sm-12
...
...
@@ -11,4 +11,4 @@
.state-description
=
s_
(
'Metrics|Check out the CI/CD documentation on deploying to an environment'
)
.prepend-top-10
=
link_to
"Learn about environments"
,
help_page_path
(
'ci/environments'
),
class:
'btn btn-success'
=
link_to
s_
(
"Metrics|Learn about environments"
)
,
help_page_path
(
'ci/environments'
),
class:
'btn btn-success'
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