mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
remove 15 hardcoding (#1164)
This commit is contained in:
parent
afb2ab3758
commit
c5773af6a8
3 changed files with 4 additions and 2 deletions
|
@ -70,6 +70,7 @@ from app.config import (
|
|||
PAGE_LIMIT,
|
||||
PADDLE_COUPON_ID,
|
||||
ZENDESK_ENABLED,
|
||||
MAX_NB_EMAIL_FREE_PLAN,
|
||||
MEM_STORE_URI,
|
||||
)
|
||||
from app.dashboard.base import dashboard_bp
|
||||
|
@ -410,6 +411,7 @@ def jinja2_filter(app):
|
|||
CANONICAL_URL=f"{URL}{request.path}",
|
||||
PAGE_LIMIT=PAGE_LIMIT,
|
||||
ZENDESK_ENABLED=ZENDESK_ENABLED,
|
||||
MAX_NB_EMAIL_FREE_PLAN=MAX_NB_EMAIL_FREE_PLAN,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ so you can manage your aliases on the go.
|
|||
{% endcall %}
|
||||
|
||||
{% call text() %}
|
||||
Please note that you can't create more than 15 aliases during the trial period.
|
||||
Please note that you can't create more than {{ MAX_NB_EMAIL_FREE_PLAN }} aliases during the trial period.
|
||||
<br />
|
||||
{% endcall %}
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
|
||||
<small class="text-success d-block mt-1"
|
||||
data-toggle="tooltip"
|
||||
title="When you signed up, you have a free 7-day Premium trial. After that your account will automatically be downgraded to the Free plan. During the trial, the only limit is you can't create more than 15 aliases.">
|
||||
title="When you signed up, you have a free 7-day Premium trial. After that your account will automatically be downgraded to the Free plan. During the trial, the only limit is you can't create more than {{ MAX_NB_EMAIL_FREE_PLAN }} aliases.">
|
||||
Premium expires {{ current_user.trial_end|dt }}
|
||||
<i class="fe fe-info"></i>
|
||||
</small>
|
||||
|
|
Loading…
Reference in a new issue