show black friday banner (#1428)

* show black friday banner

* djlint
This commit is contained in:
Son Nguyen Kim 2022-11-16 13:43:09 +01:00 committed by GitHub
parent 989358af34
commit b3e9232956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -86,6 +86,16 @@
</head>
<body>
<div class="page">
{% if current_user.should_show_upgrade_button() %}
<div class="alert alert-success text-center mb-0" role="alert">
Black Friday Deal: 33% off on the yearly plan ($20/year instead of $30/year) with the coupon code
<em data-toggle="tooltip"
title="Click to copy"
class="clipboard"
data-clipboard-text="BF2022">BF2022</em>. Available until November 30.
</div>
{% endif %}
{% block announcement %}{% endblock %}
<div class="container">
<!-- For flash messages -->