diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-12-15 17:30:49 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-12-15 20:43:01 +0000 |
commit | e42de89a15c858866d78a4d2a5837a0feec922a5 (patch) | |
tree | cd35a8b39cb6f466244e79923cd517fa74244ac7 /app/views/projects/ci | |
parent | 23f4d182e9b2fdd9cad6ebd5d898b52f671b9e66 (diff) | |
download | gitlab-ce-e42de89a15c858866d78a4d2a5837a0feec922a5.tar.gz |
Changes after review
Changes after review
Fix tooltip title
Remove unneeded string interpolation
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r-- | app/views/projects/ci/builds/_build_pipeline.html.haml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/views/projects/ci/builds/_build_pipeline.html.haml b/app/views/projects/ci/builds/_build_pipeline.html.haml deleted file mode 100644 index ad1a7360a8b..00000000000 --- a/app/views/projects/ci/builds/_build_pipeline.html.haml +++ /dev/null @@ -1,13 +0,0 @@ -- is_playable = subject.playable? && can?(current_user, :update_build, @project) -- if is_playable - = link_to play_namespace_project_build_path(subject.project.namespace, subject.project, subject, return_to: request.original_url), method: :post, data: { toggle: 'tooltip', title: "#{subject.name} - play", container: '.js-pipeline-graph', placement: 'bottom' } do - = ci_icon_for_status('play') - .ci-status-text= subject.name -- elsif can?(current_user, :read_build, @project) - = link_to namespace_project_build_path(subject.project.namespace, subject.project, subject), data: { toggle: 'tooltip', title: "#{subject.name} - #{subject.status}", container: '.js-pipeline-graph', placement: 'bottom' } do - %span{class: "ci-status-icon ci-status-icon-#{subject.status}"} - = ci_icon_for_status(subject.status) - .ci-status-text= subject.name -- else - %span{class: "ci-status-icon ci-status-icon-#{subject.status}"} - = ci_icon_for_status(subject.status) |