Commit 5ece4f2b authored by Kev's avatar Kev Committed by Miguel Rincon

Rename button "CI lint" to "CI Lint" on jobs page

parent 1d566265
...@@ -8,10 +8,11 @@ ...@@ -8,10 +8,11 @@
.nav-controls .nav-controls
- if can?(current_user, :update_build, @project) - if can?(current_user, :update_build, @project)
- if !@repository.gitlab_ci_yml && !experiment_enabled?(:jobs_empty_state) - if !@repository.gitlab_ci_yml && !experiment_enabled?(:jobs_empty_state)
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start/README'), class: 'btn gl-button btn-info js-empty-state-button' = link_to s_('Pipelines|Get started with Pipelines'), help_page_path('ci/quick_start/README'), class: 'btn gl-button btn-info js-empty-state-button'
= link_to project_ci_lint_path(@project), class: 'btn gl-button btn-default' do = link_to project_ci_lint_path(@project), class: 'btn gl-button btn-default' do
%span CI lint %span
= _('CI Lint')
.content-list.builds-content-list .content-list.builds-content-list
= render "table", builds: @builds, project: @project = render "table", builds: @builds, project: @project
---
title: Rename button "CI lint" to "CI Lint" on jobs page
merge_request: 50987
author: Kev @KevSlashNull
type: fixed
...@@ -26,7 +26,7 @@ RSpec.describe 'User browses jobs' do ...@@ -26,7 +26,7 @@ RSpec.describe 'User browses jobs' do
it 'shows the "CI Lint" button' do it 'shows the "CI Lint" button' do
page.within('.nav-controls') do page.within('.nav-controls') do
ci_lint_tool_link = page.find_link('CI lint') ci_lint_tool_link = page.find_link('CI Lint')
expect(ci_lint_tool_link[:href]).to end_with(project_ci_lint_path(project)) expect(ci_lint_tool_link[:href]).to end_with(project_ci_lint_path(project))
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment