mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-21 02:26:12 +10:00
Rename CiStatus to Statusable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.gray-content-block.middle-block
|
||||
.pull-right
|
||||
- if can?(current_user, :update_build, @project)
|
||||
- if can?(current_user, :update_build, @ci_commit.project)
|
||||
- if ci_commit.builds.latest.failed.any?(&:retryable?)
|
||||
= link_to "Retry failed", retry_builds_namespace_project_commit_path(@project.namespace, @project, ci_commit.sha), class: 'btn btn-grouped btn-primary', method: :post
|
||||
|
||||
|
||||
Reference in New Issue
Block a user