Only talk about trial mode when you’re in it

Services have a daily limit whether or not they’re in trial mode. So it
only makes sense to tell you that the limit is because of trial mode
when you are in it.
This commit is contained in:
Chris Hill-Scott
2016-04-25 10:48:52 +01:00
parent a6be0d0612
commit 5f8a5edff0

View File

@@ -22,7 +22,11 @@
{% if statistics.emails_requested or statistics.sms_requested %}
<p>
You can only send {{ current_service.message_limit }}
messages per day in <a href="{{ url_for('.trial_mode')}}">trial mode</a>.
messages per day
{%- if current_service.restricted %}
in <a href="{{ url_for('.trial_mode')}}">trial mode</a>
{%- endif -%}
.
</p>
{% endif %}
<p>