magic links: fix views titles

This commit is contained in:
Alice Gaudon 2021-01-21 11:18:38 +01:00
parent 4db7217876
commit 878f706f82
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{% extends 'layouts/base.njk' %}
{% set actionType = magicLink.action_type %}
{% set title = app.name + 'Magic Link' + (' - ' + actionType if actionType) %}
{% set h1 = 'Magic Link' + (' - ' + actionType if actionType) %}
{% set title = app.name + ' ' + h1 %}
{% block body %}
<div class="container">

View File

@ -1,7 +1,7 @@
{% extends 'layouts/base.njk' %}
{% set title = 'Authentication lobby' %}
{% set h1 = 'Authentication lobby' %}
{% set title = app.name + ' ' + h1 %}
{% block body %}
<div class="container">