mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added very basic subscription details in preview labs
refs https://github.com/TryGhost/Team/issues/2738
This commit is contained in:
parent
e2eba623dc
commit
b8b0d1538e
4 changed files with 21 additions and 17 deletions
|
@ -225,7 +225,6 @@
|
|||
</GhFormGroup>
|
||||
{{/unless}}
|
||||
|
||||
{{#if this.membersUtils.isMembersEnabled }}
|
||||
<GhFormGroup class="gh-stack-item row">
|
||||
<label for="capture-feedback" class="modal-fullsettings-title" data-test-toggle="showSubscriptionDetails">Show subscription details</label>
|
||||
<div class="for-switch small">
|
||||
|
@ -240,7 +239,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</GhFormGroup>
|
||||
{{/if}}
|
||||
|
||||
<GhFormGroup class="gh-stack-item row">
|
||||
<label for="latest-posts" class="modal-fullsettings-title" data-test-toggle="feedbackEnabled">Share your latest posts</label>
|
||||
|
|
|
@ -5,7 +5,6 @@ import {inject as service} from '@ember/service';
|
|||
|
||||
export default class EditNewsletterDesignForm extends Component {
|
||||
@service settings;
|
||||
@service membersUtils;
|
||||
|
||||
imageExtensions = IMAGE_EXTENSIONS;
|
||||
|
||||
|
|
|
@ -74,6 +74,12 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if @newsletter.showSubscriptionDetails}}
|
||||
<div class="gh-members-emailpreview-subscription-details">
|
||||
Subscription details
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="gh-members-emailpreview-footer">
|
||||
<div class="gh-members-emailpreview-footercontent">
|
||||
{{html-safe @newsletter.footerContent}}
|
||||
|
|
|
@ -6,6 +6,7 @@ export default class EditNewsletterPreview extends Component {
|
|||
@service ghostPaths;
|
||||
@service session;
|
||||
@service settings;
|
||||
@service membersUtils;
|
||||
|
||||
get showHeader() {
|
||||
return (this.args.newsletter.showHeaderIcon && this.settings.icon)
|
||||
|
|
Loading…
Add table
Reference in a new issue