Jun 27 MT-5
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{# _quota_warning.html
|
||||
Include at the top of any template whose route uses @quota_soft_check.
|
||||
Renders nothing when g.quota_warning is absent or limit not exceeded.
|
||||
#}
|
||||
{% if g.quota_warning and g.quota_warning.exceeded %}
|
||||
<div class="alert alert-warning alert-dismissible fade show d-flex align-items-center gap-2 mb-3" role="alert">
|
||||
<i class="bi bi-exclamation-triangle-fill fs-5 flex-shrink-0"></i>
|
||||
<div>
|
||||
<strong>Usage limit reached.</strong>
|
||||
You've used {{ g.quota_warning.current }} of {{ g.quota_warning.limit }}
|
||||
{{ g.quota_warning.axis }} allowed on your current plan this month.
|
||||
Your submission was saved, but consider
|
||||
<a href="mailto:support@jqc.app" class="alert-link">upgrading your plan</a>
|
||||
for higher limits.
|
||||
</div>
|
||||
<button type="button" class="btn-close ms-auto" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user