From 917417a8d5c041acab15a86e05c54ff44694bd6e Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Fri, 26 Jan 2018 17:14:57 +0100 Subject: [PATCH] Email: send link to homepage via login endpoint This way we avoid displaying the welcome page if they are not logged in. --- src/templates/emails/welcome.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/emails/welcome.pug b/src/templates/emails/welcome.pug index 3e8ebdd..882c2ab 100644 --- a/src/templates/emails/welcome.pug +++ b/src/templates/emails/welcome.pug @@ -1,6 +1,5 @@ | {% extends "emails/layout.html" %} | {% block body %} -| {% set blender_cloud = abs_url('cloud.homepage') %} h1 Welcome to Blender Cloud! section @@ -12,7 +11,8 @@ section our team to create more Open Projects, training, services and of course to make Blender the best CG pipeline in the world. You rock! p.buttons - a.button(href="{{ blender_cloud }}", target='_blank') Explore Now > + a.button(href="{{ abs_url('cloud.login', next='/') }}", target='_blank') Explore Now > + p. Here is a quick guide to help you get started with Blender Cloud.