diff options
author | Jose <jvargas@gitlab.com> | 2018-07-04 10:56:36 -0500 |
---|---|---|
committer | Jose <jvargas@gitlab.com> | 2018-07-04 11:31:28 -0500 |
commit | 01248876d2a74e3a5eee5a55908c687da3b9600e (patch) | |
tree | d187c460d699f90d55170982e41479671040ace4 /app/views | |
parent | 99dea5fa13286346f8c7066d803eb04f4e989663 (diff) | |
download | gitlab-ce-01248876d2a74e3a5eee5a55908c687da3b9600e.tar.gz |
Added shortcuts help, i18n45739-add-metrics-to-operations-tab
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/help/_shortcuts.html.haml | 6 | ||||
-rw-r--r-- | app/views/layouts/nav/sidebar/_project.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/environments/empty.html.haml | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml index c23fe0b5c49..37b56f92030 100644 --- a/app/views/help/_shortcuts.html.haml +++ b/app/views/help/_shortcuts.html.haml @@ -182,6 +182,12 @@ %tr %td.shortcut %kbd g + %kbd l + %td + Go to metrics + %tr + %td.shortcut + %kbd g %kbd k %td Go to kubernetes diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml index e4fe82f7666..00d75b3399b 100644 --- a/app/views/layouts/nav/sidebar/_project.html.haml +++ b/app/views/layouts/nav/sidebar/_project.html.haml @@ -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') diff --git a/app/views/projects/environments/empty.html.haml b/app/views/projects/environments/empty.html.haml index b8ed6accecb..1413930ebdb 100644 --- a/app/views/projects/environments/empty.html.haml +++ b/app/views/projects/environments/empty.html.haml @@ -1,4 +1,4 @@ -- 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' |