From 878f706f828157f6fc2036e9550be6ba1ecceb89 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Thu, 21 Jan 2021 11:18:38 +0100 Subject: [PATCH] magic links: fix views titles --- views/magic_link.njk | 2 +- views/magic_link_lobby.njk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/magic_link.njk b/views/magic_link.njk index fa18de9..a575e76 100644 --- a/views/magic_link.njk +++ b/views/magic_link.njk @@ -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 %}
diff --git a/views/magic_link_lobby.njk b/views/magic_link_lobby.njk index 2ed1581..b86ceb4 100644 --- a/views/magic_link_lobby.njk +++ b/views/magic_link_lobby.njk @@ -1,7 +1,7 @@ {% extends 'layouts/base.njk' %} -{% set title = 'Authentication lobby' %} {% set h1 = 'Authentication lobby' %} +{% set title = app.name + ' ' + h1 %} {% block body %}