Merge pull request #1014 from simple-login/improve-wording

add mention about the limit of 15 aliases into the header
This commit is contained in:
Son Nguyen Kim 2022-05-23 17:11:08 +02:00 committed by GitHub
commit 6b3ff6f9d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,14 +122,17 @@
{% endif %} {% endif %}
<span class="ml-2 d-none d-lg-block"> <span class="ml-2 d-none d-lg-block">
<span class="text-default"> <span class="text-default text-break">
{{ current_user.name }} {{ current_user.name or current_user.email }}
</span> </span>
{% if current_user.in_trial() %} {% if current_user.in_trial() %}
<small class="text-success d-block mt-1">Premium expires {{ current_user.trial_end|dt }} <small class="text-success d-block mt-1" data-toggle="tooltip"
<i class="fe fe-info" data-toggle="tooltip" title="When you signed up, you have a free 7-day Premium trial.
title="After you signed up you were given a free 7 day Premium trial, after this period your account will automatically be downgraded to the Free plan."></i> 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.">
Premium expires {{ current_user.trial_end|dt }}
<i class="fe fe-info"></i>
</small> </small>
{% elif current_user.is_premium() %} {% elif current_user.is_premium() %}