Commit 9670bf20 authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch...

Merge branch '273309-fy21q4-foundations-kr2-audit-and-update-buttons-on-projects-jobscontroller-index' into 'master'

Right align action buttons on jobs#index page

See merge request gitlab-org/gitlab!62869
parents e58f0241 c0ecc3c3
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
#{job.coverage}% #{job.coverage}%
%td %td
.gl-display-flex .gl-text-right
.btn-group .btn-group
- if can?(current_user, :read_job_artifacts, job) && job.artifacts? - if can?(current_user, :read_job_artifacts, job) && job.artifacts?
= link_to download_project_job_artifacts_path(job.project, job), rel: 'nofollow', download: '', title: _('Download artifacts'), class: 'gl-button btn btn-default btn-icon' do = link_to download_project_job_artifacts_path(job.project, job), rel: 'nofollow', download: '', title: _('Download artifacts'), class: 'gl-button btn btn-default btn-icon' do
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
= s_('Jobs|Use jobs to automate your tasks') = s_('Jobs|Use jobs to automate your tasks')
%p %p
= s_('Jobs|Jobs are the building blocks of a GitLab CI/CD pipeline. Each job has a specific task, like testing code. To set up jobs in a CI/CD pipeline, add a CI/CD configuration file to your project.') = s_('Jobs|Jobs are the building blocks of a GitLab CI/CD pipeline. Each job has a specific task, like testing code. To set up jobs in a CI/CD pipeline, add a CI/CD configuration file to your project.')
= link_to s_('Jobs|Create CI/CD configuration file'), project_ci_pipeline_editor_path(project), class: 'btn gl-button btn-info js-empty-state-button' = link_to s_('Jobs|Create CI/CD configuration file'), project_ci_pipeline_editor_path(project), class: 'btn gl-button btn-confirm js-empty-state-button'
- else - else
.nothing-here-block= s_('Jobs|No jobs to show') .nothing-here-block= s_('Jobs|No jobs to show')
- else - else
......
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