Added calloutCard feature flag

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

- developer flag for enabling callout cards in the card menus
This commit is contained in:
Thibaut Patel 2021-11-08 17:24:18 +01:00
parent 9aa1ac6cdb
commit 7829ea149d
2 changed files with 14 additions and 0 deletions

View File

@ -61,6 +61,7 @@ export default Service.extend({
mediaAPI: feature('mediaAPI', {developer: true}),
filesAPI: feature('filesAPI', {developer: true}),
buttonCard: feature('buttonCard', {developer: true}),
calloutCard: feature('calloutCard', {developer: true}),
_user: null,

View File

@ -339,6 +339,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Cardmageddon - Callout</h4>
<p class="gh-expandable-description">
Card for info boxes that stand out
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="calloutCard" />
</div>
</div>
</div>
</div>
</div>
{{/if}}