Rename retry failed button on pipeline page to just retry

This commit is contained in:
dimitrieh 2017-02-20 12:20:49 +01:00
parent f8a736d028
commit cd04235efe
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,7 @@
.header-action-buttons
- if can?(current_user, :update_pipeline, @pipeline.project)
- if @pipeline.retryable?
= link_to "Retry failed", retry_namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'btn btn-inverted-secondary', method: :post
= link_to "Retry", retry_namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'btn btn-inverted-secondary', method: :post
- if @pipeline.cancelable?
= link_to "Cancel running", cancel_namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post

View file

@ -0,0 +1,4 @@
---
title: Rename retry failed button on pipeline page to just retry
merge_request:
author: