Skip to content

Commit

Permalink
Updated unsubscribe screen error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzimon committed Nov 16, 2019
1 parent 0a20243 commit 1f67cc6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/frontend/views/unsubscribe.hbs
Expand Up @@ -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>
Expand Down

0 comments on commit 1f67cc6

Please sign in to comment.