diff options
author | dimitrieh <dimitriehoekstra@gmail.com> | 2017-02-20 19:08:29 +0300 |
---|---|---|
committer | dimitrieh <dimitriehoekstra@gmail.com> | 2017-02-20 19:08:29 +0300 |
commit | b86640fee90a7bc7b752b0d66ac7310dd9673b23 (patch) | |
tree | 36bf7bf98fa8df13bca62330d980f9837e09fa74 /app | |
parent | cd04235efe4dd20accc9c7e1567fe5ccf95f7780 (diff) |
fixed specs + docs
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/commit/_pipeline.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_pipeline.html.haml b/app/views/projects/commit/_pipeline.html.haml index 6abff6aaf95..754bcb95ddb 100644 --- a/app/views/projects/commit/_pipeline.html.haml +++ b/app/views/projects/commit/_pipeline.html.haml @@ -3,7 +3,7 @@ .pull-right - if can?(current_user, :update_pipeline, pipeline.project) - if pipeline.builds.latest.failed.any?(&:retryable?) - = link_to "Retry failed", retry_namespace_project_pipeline_path(pipeline.project.namespace, pipeline.project, pipeline.id), class: 'btn btn-grouped btn-primary', method: :post + = link_to "Retry", retry_namespace_project_pipeline_path(pipeline.project.namespace, pipeline.project, pipeline.id), class: 'btn btn-grouped btn-primary', method: :post - if pipeline.builds.running_or_pending.any? = link_to "Cancel running", cancel_namespace_project_pipeline_path(pipeline.project.namespace, pipeline.project, pipeline.id), data: { confirm: 'Are you sure?' }, class: 'btn btn-grouped btn-danger', method: :post |