diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-05 10:22:59 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-05 10:22:59 +0100 |
commit | 6f7933b34947984bf46b6a1f4e9e878199bf48d3 (patch) | |
tree | 7959513d3b22675cdca378d4cd9c63ee8b65eb1c /app/views/projects | |
parent | 8d059643f93f0d1b99ba153cf7321e905e7d43bb (diff) | |
download | gitlab-ce-cycle-anyltics-landing-box-fix.tar.gz |
Fixed cycle analytics intro box styling regressioncycle-anyltics-landing-box-fix
Closes #31844
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/cycle_analytics/show.html.haml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml index 819f29d3ca5..b158a81471c 100644 --- a/app/views/projects/cycle_analytics/show.html.haml +++ b/app/views/projects/cycle_analytics/show.html.haml @@ -9,17 +9,17 @@ #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" } - = icon("times", class: "dismiss-icon", "@click" => "dismissOverviewDialog()") - .row - .col-sm-3.col-xs-12.svg-container - = custom_icon('icon_cycle_analytics_splash') - .col-sm-8.col-xs-12.inner-content - %h4 - {{ __('Introducing Cycle Analytics') }} - %p - {{ __('Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.') }} - + .landing.content-block{ "v-if" => "!isOverviewDialogDismissed" } + %button.dismiss-button{ type: 'button', 'aria-label': 'Dismiss Cycle Analytics introduction box' } + = icon("times", "@click" => "dismissOverviewDialog()") + .svg-container + = custom_icon('icon_cycle_analytics_splash') + .inner-content + %h4 + {{ __('Introducing Cycle Analytics') }} + %p + {{ __('Cycle Analytics gives an overview of how much time it takes to go from idea to production in your project.') }} + %p = link_to _('Read more'), help_page_path('user/project/cycle_analytics'), target: '_blank', class: 'btn' = icon("spinner spin", "v-show" => "isLoading") .wrapper{ "v-show" => "!isLoading && !hasError" } |