Alice Gaudon
6aa37eb9e4
Reorganize views into new "assets" folder structure
Turn locals into a store so locals don't have to be passed through files that don't need them
Some fixes to previous commit (esm) 82ab0b963c
Remove afs in favor of fs.promises (renamed afs.exists to Utils.doesFileExist
Rename Utils.readdirRecursively to Utils.listFilesRecursively
19 lines
532 B
Plaintext
19 lines
532 B
Plaintext
{% extends 'layouts/base.njk' %}
|
|
|
|
{% set actionType = magicLink.action_type %}
|
|
{% set h1 = 'Magic Link' + (' - ' + actionType if actionType) %}
|
|
{% set title = app.name + ' ' + h1 %}
|
|
|
|
{% 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>
|
|
{% endblock %}
|