mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
fix active_page
This commit is contained in:
parent
bfab753e76
commit
383f633e41
3 changed files with 6 additions and 2 deletions
|
@ -114,7 +114,7 @@ def send_trial_end_soon_email(user):
|
|||
send_email(
|
||||
user.email,
|
||||
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),
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends 'default.html' %}
|
||||
|
||||
{% set active_page = "custom_domain" %}
|
||||
{% if custom_domain.is_sl_subdomain %}
|
||||
{% set active_page = "subdomain" %}
|
||||
{% else %}
|
||||
{% set active_page = "custom_domain" %}
|
||||
{% endif %}
|
||||
|
||||
{% block default_content %}
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in a new issue