swaf/views/magic_link.njk

19 lines
532 B
Plaintext
Raw Permalink Normal View History

2020-07-12 11:46:21 +02:00
{% extends 'layouts/base.njk' %}
{% set actionType = magicLink.action_type %}
{% set h1 = 'Magic Link' + (' - ' + actionType if actionType) %}
2021-01-21 11:18:38 +01:00
{% set title = app.name + ' ' + h1 %}
2020-07-12 11:46:21 +02:00
{% block body %}
<div class="container">
<div class="panel">
{% if err %}
{{ macros.message('error', err) }}
{% else %}
{{ macros.message('success', 'Success!') }}
<p>You can now close this page.</p>
{% endif %}
</div>
</div>
2020-11-12 16:11:16 +01:00
{% endblock %}