Ghost/core/frontend/views/unsubscribe.hbs

56 lines
2.3 KiB
Handlebars
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>
2022-03-10 13:39:20 +03:00
{{#if error}}
Unsubscribe Failed
{{else}}
Successfully Unsubscribed
{{/if}}
</title>
2019-11-15 16:01:34 +03:00
<link rel="stylesheet" href="{{asset "public/ghost.css" hasMinFile="true"}}" />
</head>
<body>
2019-11-15 16:01:34 +03:00
<div class="gh-app">
<div class="gh-viewport">
<main class="gh-main" role="main">
<div class="gh-flow">
<div class="gh-flow-content-wrap">
2022-03-10 13:39:20 +03:00
{{#if @site.icon}}
<img class="site-icon" src="{{img_url @site.icon absolute="true"}}" layout="fixed">
{{/if}}
<section class="gh-flow-content unsubscribe">
{{#if error}}
2022-03-10 13:39:20 +03:00
<h1>Unsubscribe failed.</h1>
<p>{{error}}</p>
2022-03-10 13:39:20 +03:00
{{else if member}}
<h1>Successfully unsubscribed.</h1>
<p>
<span class="gh-flow-em">{{member.email}}</span> will no longer receive this newsletter.
{{#match member.status "!=" "free"}}
This will not cancel your paid subscription{{#if @site.title}} to {{@site.title}}{{/if}}.
{{/match}}
</p>
{{/if}}
2019-11-15 16:01:34 +03:00
</section>
2022-03-10 13:39:20 +03:00
<div class="unsubscribe-footer">
{{#unless error}}
<p>Didn't mean to do this? Manage your account <a href="{{@site.url}}/#/portal/account">here</a>.</p>
{{/unless}}
{{#if @site.title}}
<a href="{{@site.url}}">{{@site.title}}</a>
{{else}}
<a href="{{@site.url}}">Visit site</a>
{{/if}}
</div>
2019-11-15 16:01:34 +03:00
</div>
</div>
</main>
</div>
</div>
</body>
</html>