fix active_page
This commit is contained in:
parent
bfab753e76
commit
383f633e41
|
@ -114,7 +114,7 @@ def send_trial_end_soon_email(user):
|
||||||
send_email(
|
send_email(
|
||||||
user.email,
|
user.email,
|
||||||
f"Your trial will end soon",
|
f"Your trial will end soon",
|
||||||
render("transactional/trial-end.txt", user=user),
|
render("transactional/trial-end.txt.jinja2", user=user),
|
||||||
render("transactional/trial-end.html", user=user),
|
render("transactional/trial-end.html", user=user),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{% extends 'default.html' %}
|
{% extends 'default.html' %}
|
||||||
|
|
||||||
|
{% if custom_domain.is_sl_subdomain %}
|
||||||
|
{% set active_page = "subdomain" %}
|
||||||
|
{% else %}
|
||||||
{% set active_page = "custom_domain" %}
|
{% set active_page = "custom_domain" %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% block default_content %}
|
{% block default_content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
Loading…
Reference in a new issue