Rename CiStatus to Statusable

This commit is contained in:
Kamil Trzcinski
2016-04-16 21:46:26 +02:00
parent 065e0c0fe4
commit 0b1655e7b2
7 changed files with 21 additions and 9 deletions
@@ -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