mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added snippetReplacements
alpha labs feature
refs https://github.com/TryGhost/Team/issues/973 - adds feature flag and labs screen toggle for alpha feature that allows for replacing a snippet's contents without manually deleting and recreating
This commit is contained in:
parent
f110d3df7e
commit
53c83ffea4
@ -62,6 +62,7 @@ export default Service.extend({
|
||||
checkEmailList: feature('checkEmailList', {developer: true}),
|
||||
emailOnlyPosts: feature('emailOnlyPosts', {developer: true}),
|
||||
dashboardTwo: feature('dashboardTwo', {developer: true}),
|
||||
snippetReplacements: feature('snippetReplacements', {developer: true}),
|
||||
|
||||
_user: null,
|
||||
|
||||
|
@ -348,6 +348,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Snippet replacements</h4>
|
||||
<p class="gh-expandable-description">
|
||||
When creating a snippet, allow for replacing an existing snippet.
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="snippetReplacements" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user