From eebe036e64a82206bca6955b6105ced5a69e714e Mon Sep 17 00:00:00 2001 From: Miguel Rincon <mrincon@gitlab.com> Date: Mon, 27 Jun 2022 14:26:30 +0200 Subject: [PATCH] Replace repeat icon with retry icon for jobs Changelog: changed --- .../javascripts/jobs/components/table/cells/actions_cell.vue | 2 +- .../javascripts/pipelines/components/jobs/failed_jobs_table.vue | 2 +- .../pipelines/components/pipelines_list/pipeline_operations.vue | 2 +- app/views/projects/ci/builds/_build.html.haml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/jobs/components/table/cells/actions_cell.vue b/app/assets/javascripts/jobs/components/table/cells/actions_cell.vue index 02aeb46a22b3c..6f351d91165df 100644 --- a/app/assets/javascripts/jobs/components/table/cells/actions_cell.vue +++ b/app/assets/javascripts/jobs/components/table/cells/actions_cell.vue @@ -222,7 +222,7 @@ export default { /> <gl-button v-else-if="isRetryable" - icon="repeat" + icon="retry" :title="$options.ACTIONS_RETRY" :aria-label="$options.ACTIONS_RETRY" :method="currentJobMethod" diff --git a/app/assets/javascripts/pipelines/components/jobs/failed_jobs_table.vue b/app/assets/javascripts/pipelines/components/jobs/failed_jobs_table.vue index 070c5ee59de86..0c6b8b9ed2b1a 100644 --- a/app/assets/javascripts/pipelines/components/jobs/failed_jobs_table.vue +++ b/app/assets/javascripts/pipelines/components/jobs/failed_jobs_table.vue @@ -96,7 +96,7 @@ export default { <template #cell(actions)="{ item }"> <gl-button v-if="canRetryJob(item)" - icon="repeat" + icon="retry" :title="$options.retry" :aria-label="$options.retry" @click="retryJob(item.id)" diff --git a/app/assets/javascripts/pipelines/components/pipelines_list/pipeline_operations.vue b/app/assets/javascripts/pipelines/components/pipelines_list/pipeline_operations.vue index fa0e153b2af55..7a08dacb824cc 100644 --- a/app/assets/javascripts/pipelines/components/pipelines_list/pipeline_operations.vue +++ b/app/assets/javascripts/pipelines/components/pipelines_list/pipeline_operations.vue @@ -80,7 +80,7 @@ export default { class="js-pipelines-retry-button" data-qa-selector="pipeline_retry_button" data-testid="pipelines-retry-button" - icon="repeat" + icon="retry" variant="default" category="secondary" @click="handleRetryClick" diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index c33b9b538f35b..bd096ed74f50b 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -132,4 +132,4 @@ = sprite_icon('play', css_class: 'gl-icon') - elsif job.retryable? = link_to retry_project_job_path(job.project, job, return_to: request.original_url), method: :post, title: _('Retry'), class: 'gl-button btn btn-default btn-icon' do - = sprite_icon('repeat', css_class: 'gl-icon') + = sprite_icon('retry', css_class: 'gl-icon') -- GitLab