Skip to content
代码片段 群组 项目
提交 dd9127c8 编辑于 作者: Simon Knox's avatar Simon Knox
浏览文件

Merge branch 'mrincon-replace-repeat-with-retry-icon' into 'master'

Replace repeat icon with retry icon for jobs

See merge request gitlab-org/gitlab!91053
No related branches found
No related tags found
无相关合并请求
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
/> />
<gl-button <gl-button
v-else-if="isRetryable" v-else-if="isRetryable"
icon="repeat" icon="retry"
:title="$options.ACTIONS_RETRY" :title="$options.ACTIONS_RETRY"
:aria-label="$options.ACTIONS_RETRY" :aria-label="$options.ACTIONS_RETRY"
:method="currentJobMethod" :method="currentJobMethod"
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
<template #cell(actions)="{ item }"> <template #cell(actions)="{ item }">
<gl-button <gl-button
v-if="canRetryJob(item)" v-if="canRetryJob(item)"
icon="repeat" icon="retry"
:title="$options.retry" :title="$options.retry"
:aria-label="$options.retry" :aria-label="$options.retry"
@click="retryJob(item.id)" @click="retryJob(item.id)"
......
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
class="js-pipelines-retry-button" class="js-pipelines-retry-button"
data-qa-selector="pipeline_retry_button" data-qa-selector="pipeline_retry_button"
data-testid="pipelines-retry-button" data-testid="pipelines-retry-button"
icon="repeat" icon="retry"
variant="default" variant="default"
category="secondary" category="secondary"
@click="handleRetryClick" @click="handleRetryClick"
......
...@@ -132,4 +132,4 @@ ...@@ -132,4 +132,4 @@
= sprite_icon('play', css_class: 'gl-icon') = sprite_icon('play', css_class: 'gl-icon')
- elsif job.retryable? - 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 = 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')
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册