Added customThemeSettings labs feature

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

- added `feature` service flag and toggle to labs page
This commit is contained in:
Kevin Ansfield 2021-09-14 18:35:52 +01:00
parent d3bb001129
commit e795692e6b
2 changed files with 14 additions and 0 deletions

View File

@ -57,6 +57,7 @@ export default Service.extend({
membersFiltering: feature('membersFiltering', {developer: true}),
oauthLogin: feature('oauthLogin', {developer: true}),
emailOnlyPosts: feature('emailOnlyPosts', {developer: true}),
customThemeSettings: feature('customThemeSettings', {developer: true}),
_user: null,

View File

@ -287,6 +287,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Custom theme settings</h4>
<p class="gh-expandable-description">
Redesign of "Design" settings in Admin and allow themes to specify custom settings.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="customThemeSettings" />
</div>
</div>
</div>
</div>
</div>
{{/if}}