Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-17 00:06:34 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-18 15:44:21 +0300
commit3248c9fb56e5d5cb8980cb37effec1ee2f4f664a (patch)
treeb927d7d1a1fa8b58b3591459cc585b87f74049c5 /app/views/projects/ci
parent7d0fe1f04ed285e7e5cf825a305114b3e981c2f8 (diff)
Rename playable_actions to manual_actions
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r--app/views/projects/ci/pipelines/_pipeline.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml
index 1285fce4930..b9adc920ea6 100644
--- a/app/views/projects/ci/pipelines/_pipeline.html.haml
+++ b/app/views/projects/ci/pipelines/_pipeline.html.haml
@@ -57,8 +57,8 @@
%td.pipeline-actions
.controls.hidden-xs.pull-right
- artifacts = pipeline.builds.latest.select { |b| b.artifacts? }
- - playable = pipeline.playable_actions
- - if artifacts.present? || playable.any?
+ - actions = pipeline.manual_actions
+ - if artifacts.present? || actions.any?
.btn-group.inline
- if playable.any?
.btn-group
@@ -69,7 +69,7 @@
%li
= link_to play_namespace_project_build_path(@project.namespace, @project, build), rel: 'nofollow' do
= icon("play")
- %span= playable.name.titleize
+ %span= actions.name.titleize
- if artifacts.present?
.btn-group
%a.dropdown-toggle.btn.btn-default.build-artifacts{type: 'button', 'data-toggle' => 'dropdown'}