Email: send link to homepage via login endpoint

This way we avoid displaying the welcome page if they are not
logged in.
This commit is contained in:
2018-01-26 17:14:57 +01:00
parent 48fd9f401a
commit 917417a8d5

View File

@@ -1,6 +1,5 @@
| {% extends "emails/layout.html" %} | {% extends "emails/layout.html" %}
| {% block body %} | {% block body %}
| {% set blender_cloud = abs_url('cloud.homepage') %}
h1 Welcome to Blender Cloud! h1 Welcome to Blender Cloud!
section section
@@ -12,7 +11,8 @@ section
our team to create more Open Projects, training, services and of course to make Blender the best our team to create more Open Projects, training, services and of course to make Blender the best
CG pipeline in the world. You rock! CG pipeline in the world. You rock!
p.buttons p.buttons
a.button(href="{{ blender_cloud }}", target='_blank') Explore Now > a.button(href="{{ abs_url('cloud.login', next='/') }}", target='_blank') Explore Now >
p. p.
Here is a quick guide to help you get started with Blender Cloud. Here is a quick guide to help you get started with Blender Cloud.