Commit 51121811 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Do not show overview message if there’s already CA data

parent 16ec3956
- @no_container = true - @no_container = true
- @cycle_analytics_not_set_up = false
- page_title "Cycle Analytics" - page_title "Cycle Analytics"
- content_for :page_specific_javascripts do - content_for :page_specific_javascripts do
= page_specific_javascript_tag("cycle_analytics/cycle_analytics_bundle.js") = page_specific_javascript_tag("cycle_analytics/cycle_analytics_bundle.js")
...@@ -7,6 +6,7 @@ ...@@ -7,6 +6,7 @@
= render "projects/pipelines/head" = render "projects/pipelines/head"
#cycle-analytics{ class: container_class, "v-cloak" => "true", data: { request_path: project_cycle_analytics_path(@project) } } #cycle-analytics{ class: container_class, "v-cloak" => "true", data: { request_path: project_cycle_analytics_path(@project) } }
- if @cycle_analytics_no_data
.bordered-box.landing.content-block{"v-if" => "!isOverviewDialogDismissed"} .bordered-box.landing.content-block{"v-if" => "!isOverviewDialogDismissed"}
= icon("times", class: "dismiss-icon", "@click" => "dismissOverviewDialog()") = icon("times", class: "dismiss-icon", "@click" => "dismissOverviewDialog()")
.row .row
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment