remove create account CTA if user signed in

This commit is contained in:
Chris Hill-Scott
2019-04-09 15:20:40 +01:00
parent c9bfca3c32
commit 22cbd8fd11
4 changed files with 38 additions and 30 deletions

View File

@@ -16,7 +16,9 @@
<h1 class="heading heading-large">Letters</h1>
<p>GOV.UK Notify will print, pack and post your letters for you.</p>
<p><a href="https://www.notifications.service.gov.uk/register">Create an account</a> and try Notify for yourself.</p>
{% if not current_user.is_authenticated %}
<p><a href="https://www.notifications.service.gov.uk/register">Create an account</a> and try Notify for yourself.</p>
{% endif %}
<h2 class="heading heading-medium">Features</h2>
<p>Notify makes it easy to:</p>