summaryrefslogtreecommitdiff
path: root/app/views/projects/cycle_analytics
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-11-16 13:45:23 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-11-21 13:49:19 -0500
commitee6b991f0b16e55009288b72a46204c23b08654b (patch)
treeca6b1911ee4af028730307237d2cce0af61399ad /app/views/projects/cycle_analytics
parentbbd1c788621e3e186f37c7d43d16915f68c3576a (diff)
downloadgitlab-ce-ee6b991f0b16e55009288b72a46204c23b08654b.tar.gz
Remove delta column and use stage data from response
Diffstat (limited to 'app/views/projects/cycle_analytics')
-rw-r--r--app/views/projects/cycle_analytics/show.html.haml14
1 files changed, 3 insertions, 11 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml
index 195b10e0779..1984499b8d5 100644
--- a/app/views/projects/cycle_analytics/show.html.haml
+++ b/app/views/projects/cycle_analytics/show.html.haml
@@ -31,7 +31,7 @@
.content-block
.container-fluid
.row
- .col-sm-3.col-xs-12.column{"v-for" => "item in state.analytics.summary"}
+ .col-sm-3.col-xs-12.column{"v-for" => "item in state.summary"}
%h3.header {{item.value}}
%p.text {{item.title}}
.col-sm-3.col-xs-12.column
@@ -58,10 +58,6 @@
%span.stage-name
Median
%i.has-tooltip.fa.fa-question-circle{ "data-placement" => "top", title: "The value lying at the midpoint of a series of observed values. E.g., between 3, 5, 9, the median is 5. Between 3, 5, 7, 8, the median is (5+7)/2 = 6.", "aria-hidden" => "true" }
- %li.delta-header
- %span.stage-name
- = render "shared/icons/delta.svg"
- %i.has-tooltip.fa.fa-question-circle{ "data-placement" => "top", title: "The difference between the previous and last measure, expressed as positive or negative values. E.g., if the previous value was 5 and the new value is 7, the delta is +2.", "aria-hidden" => "true" }
%li.event-header
%span.stage-name
{{ currentStage ? currentStage.legendTitle : 'Related Issues' }}
@@ -79,13 +75,9 @@
":on-stage-click" => "selectStage" }
%li.stage-nav-item{ ":class" => "classObject", "@click" => "onClick(stage)" }
.stage-name
- {{stage.name}}
+ {{ stage.title }}
.stage-median
- 20 hrs 21 mins
- .stage-delta
- + 20 days
- %span.stage-direction
- = render "shared/icons/down_arrow.svg"
+ {{ stage.value }}
.section.stage-events
%template{ "v-if" => "isLoadingStage" }
= icon("spinner spin", "v-show" => "isLoadingStage")