mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
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:
parent
a879beb09d
commit
d91f2d253e
@ -66,6 +66,7 @@ export default Service.extend({
|
||||
beforeAfterCard: feature('beforeAfterCard'),
|
||||
richTwitterNewsletters: feature('richTwitterNewsletters'),
|
||||
tweetGridCard: feature('tweetGridCard'),
|
||||
headerCard: feature('headerCard'),
|
||||
|
||||
_user: null,
|
||||
|
||||
|
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user