Commit c146eb55 authored by Tim Zallmann's avatar Tim Zallmann

Changed based on Feedback

parent a1b1cbdd
...@@ -30,10 +30,10 @@ ...@@ -30,10 +30,10 @@
merge request from being merged before it's ready. merge request from being merged before it's ready.
- if no_issuable_templates && can?(current_user, :push_code, issuable.project) - if no_issuable_templates && can?(current_user, :push_code, issuable.project)
- if show_promotions? && !@project.feature_available?(:issuable_default_templates) - if @project.feature_available?(:issuable_default_templates)
= render 'shared/promotions/promote_issue_templates'
- else
%p.help-block %p.help-block
Add Add
= link_to 'description templates', help_page_path('user/project/description_templates'), tabindex: -1 = link_to 'description templates', help_page_path('user/project/description_templates'), tabindex: -1
to help your contributors communicate effectively! to help your contributors communicate effectively!
- elsif show_promotions?
= render 'shared/promotions/promote_issue_templates'
- if show_promotions? && !@project.feature_available?(:burndown_charts) && !@project.feature_available?(:issue_weights) && show_callout?('promote_burndown_charts_dismissed') - if show_promotions? && !@project.feature_available?(:burndown_charts) && show_callout?('promote_burndown_charts_dismissed')
.user-callout.promotion-callout#promote_burndown_charts{ data: { uid: 'promote_burndown_charts_dismissed' } } .user-callout.promotion-callout#promote_burndown_charts{ data: { uid: 'promote_burndown_charts_dismissed' } }
.bordered-box.content-block .bordered-box.content-block
%button.btn.btn-default.close.js-close-callout{ type: 'button', 'aria-label' => 'Dismiss burndown charts promotion' } %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