Commit 51121811 authored by Alfredo Sumaran's avatar Alfredo Sumaran

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

parent 16ec3956
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
<a :href="issue.url" class="issue-date">{{ issue.createdAt }}</a> <a :href="issue.url" class="issue-date">{{ issue.createdAt }}</a>
</span> </span>
<span> <span>
by by
<a :href="issue.author.webUrl" class="issue-author-link"> <a :href="issue.author.webUrl" class="issue-author-link">
{{ issue.author.name }} {{ issue.author.name }}
</a> </a>
</span> </span>
</div> </div>
<div class="item-time"> <div class="item-time">
......
- @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,18 +6,19 @@ ...@@ -7,18 +6,19 @@
= 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) } }
.bordered-box.landing.content-block{"v-if" => "!isOverviewDialogDismissed"} - if @cycle_analytics_no_data
= icon("times", class: "dismiss-icon", "@click" => "dismissOverviewDialog()") .bordered-box.landing.content-block{"v-if" => "!isOverviewDialogDismissed"}
.row = icon("times", class: "dismiss-icon", "@click" => "dismissOverviewDialog()")
.col-sm-3.col-xs-12.svg-container .row
= custom_icon('icon_cycle_analytics_splash') .col-sm-3.col-xs-12.svg-container
.col-sm-8.col-xs-12.inner-content = custom_icon('icon_cycle_analytics_splash')
%h4 .col-sm-8.col-xs-12.inner-content
Introducing Cycle Analytics %h4
%p Introducing Cycle Analytics
Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project. %p
Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.
= link_to "Read more", help_page_path('user/project/cycle_analytics'), target: '_blank', class: 'btn' = link_to "Read more", help_page_path('user/project/cycle_analytics'), target: '_blank', class: 'btn'
= icon("spinner spin", "v-show" => "isLoading") = icon("spinner spin", "v-show" => "isLoading")
.wrapper{"v-show" => "!isLoading && !hasError"} .wrapper{"v-show" => "!isLoading && !hasError"}
.panel.panel-default .panel.panel-default
......
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