diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-16 21:46:26 +0200 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-16 21:46:26 +0200 |
| commit | 0b1655e7b2e2aa57cb7ea8401743d709bf246074 (patch) | |
| tree | 0f2846f32aec86f3d44300649b0c77f179bec0c4 /app/views | |
| parent | 065e0c0fe4e5e16b90c01736721e4c794b71dac9 (diff) | |
| download | gitlab-ce-0b1655e7b2e2aa57cb7ea8401743d709bf246074.tar.gz | |
Rename CiStatus to Statusable
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/projects/commit/_ci_commit.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_ci_commit.html.haml b/app/views/projects/commit/_ci_commit.html.haml index 25714e6cb47..0c01f2ed95f 100644 --- a/app/views/projects/commit/_ci_commit.html.haml +++ b/app/views/projects/commit/_ci_commit.html.haml @@ -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 |
