Commit c0ecc3c3 authored by Justin Ho Tuan Duong's avatar Justin Ho Tuan Duong Committed by Enrique Alcántara

Right align action buttons on jobs index page

Other changes:

- Use btn-confirm for jobs empty state

Changelog: changed
parent 6bf41449
...@@ -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