Added headerCard feature flag

refs https://github.com/TryGhost/Team/issues/1253

- developer flag for enabling header cards in the card menus
This commit is contained in:
Thibaut Patel 2021-12-13 12:20:58 +01:00
parent a879beb09d
commit d91f2d253e
2 changed files with 14 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export default Service.extend({
beforeAfterCard: feature('beforeAfterCard'),
richTwitterNewsletters: feature('richTwitterNewsletters'),
tweetGridCard: feature('tweetGridCard'),
headerCard: feature('headerCard'),
_user: null,

View File

@ -469,6 +469,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Cardmageddon - Header</h4>
<p class="gh-expandable-description">
Card for bold, attention-grabbing section headers
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="headerCard" />
</div>
</div>
</div>
</div>
</div>
{{/if}}