0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Updated unsubscribe screen error handling

This commit is contained in:
Peter Zimon 2019-11-16 13:02:36 +01:00
parent 0a20243540
commit 1f67cc6ddc

View file

@ -37,8 +37,11 @@
<div class="gh-flow-content-wrap">
<section class="gh-flow-content gh-flow-content-regular">
<p>
{{#if member}}<span class="gh-flow-em">{{member.email}}</span> has been successfully unsubscribed{{/if}}
{{#if error}}Uh oh! Unsubscribe failed: "{{error}}"{{/if}}
{{#if error}}
Uh oh! Unsubscribe failed: "{{error}}"
{{else}}
{{#if member}}<span class="gh-flow-em">{{member.email}}</span> has been successfully unsubscribed{{/if}}
{{/if}}
</p>
</section>
</div>