Commit 11539a34 authored by Tim Zallmann's avatar Tim Zallmann

Use Helper

parent c146eb55
- if show_promotions? && !@project.feature_available?(:burndown_charts) && show_callout?('promote_burndown_charts_dismissed')
- if show_project_feature_promotion(:burndown_charts, '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' }
......
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