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:
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")