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:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-11-18 23:18:49 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-11-21 21:57:10 +0300
commit6efe1531bdad8f48bc24a0fa315d74132bd139b2 (patch)
tree3383ee2fdc5e931e43956e9ea7e96f7dbaf6a30e /app/views/projects
parent9219d1b38061f50c3096f5a12c5cc7220da989cb (diff)
Delete StageButton component
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/cycle_analytics/show.html.haml14
1 files changed, 5 insertions, 9 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml
index 010f64b3bb5..bebe2782bd7 100644
--- a/app/views/projects/cycle_analytics/show.html.haml
+++ b/app/views/projects/cycle_analytics/show.html.haml
@@ -69,15 +69,11 @@
.stage-panel-body
%nav.stage-nav
%ul
- %stage-button{ "inline-template" => true,
- "v-for" => "stage in state.stages",
- ":stage" => "stage",
- ":on-stage-click" => "selectStage" }
- %li.stage-nav-item{ ":class" => "classObject", "@click" => "onClick(stage)" }
- .stage-name
- {{ stage.title }}
- .stage-median
- {{ stage.value }}
+ %li.stage-nav-item{ ':class' => '{active: stage.active}', '@click' => 'selectStage(stage)', "v-for" => "stage in state.stages" }
+ .stage-name
+ {{ stage.title }}
+ .stage-median
+ {{ stage.value }}
.section.stage-events
%template{ "v-if" => "isLoadingStage" }
= icon("spinner spin", "v-show" => "isLoadingStage")