_promote_burndown_charts.html.haml 1.19 KB
Newer Older
Tim Zallmann's avatar
Tim Zallmann committed
1 2 3 4 5 6 7 8 9 10
- if show_promotions? && show_callout?('promote_burndown_charts_dismissed')
  .user-callout.promotion-callout#promote_burndown_charts{ data: { uid: 'promote_burndown_charts_dismissed' } }
    .bordered-box.content-block
      %button.btn.btn-default.close.js-close-callout{ type: 'button', 'aria-label' => 'Dismiss burndown charts promotion' }
        = icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
      .svg-container
        = custom_icon('icon_burndown_charts')
      .user-callout-copy
        %h4
          - if current_application_settings.should_check_namespace_plan?
11
            Upgrade your plan to improve milestones with Burndown Charts.
12
          - else
Tim Zallmann's avatar
Tim Zallmann committed
13 14 15 16
            Improve milestones with Burndown Charts.
        %p
          Burndown Charts are visual representations of the progress of completing a milestone. At a glance, you see the current state for the completion a given milestone. Without them, you would have to organize the data from the milestone and plot it yourself to have the same sense of progress.
          = link_to 'Read more', help_page_path('user/project/milestones/burndown_charts.html'), target: '_blank'
Tim Zallmann's avatar
Tim Zallmann committed
17

Tim Zallmann's avatar
Tim Zallmann committed
18
        = render 'shared/promotions/promotion_link_project'