wrap traffic details on financial verification page in conditional
This commit is contained in:
parent
dcea156dc5
commit
24c041811f
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<p>Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
<p>Before you can submit your request, please take a moment to review the information entered in the form. You may make changes by clicking the edit link on each section. When all information looks right, go ahead and submit.</p>
|
||||||
|
|
||||||
{% if f.errors or not can_submit%}
|
{% if f.errors or not can_submit %}
|
||||||
{{ Alert('Please complete all sections',
|
{{ Alert('Please complete all sections',
|
||||||
message="<p>In order to submit your JEDI Cloud request, you'll need to complete all required sections of this form without error. Missing or invalid fields are noted below.</p>",
|
message="<p>In order to submit your JEDI Cloud request, you'll need to complete all required sections of this form without error. Missing or invalid fields are noted below.</p>",
|
||||||
level='error'
|
level='error'
|
||||||
@ -114,6 +114,8 @@
|
|||||||
<dd>{{ data['details_of_use']['dollar_value'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['dollar_value'] or RequiredLabel() }}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% set dollar_value = data['details_of_use']['dollar_value'] | int %}
|
||||||
|
{% if dollar_value > 1000000 %}
|
||||||
<div>
|
<div>
|
||||||
<dt>Number of User Sessions</dt>
|
<dt>Number of User Sessions</dt>
|
||||||
<dd>{{ data['details_of_use']['number_user_sessions'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['number_user_sessions'] or RequiredLabel() }}</dd>
|
||||||
@ -128,6 +130,7 @@
|
|||||||
<dt>Average Daily Traffic (GB)</dt>
|
<dt>Average Daily Traffic (GB)</dt>
|
||||||
<dd>{{ data['details_of_use']['average_daily_traffic_gb'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['average_daily_traffic_gb'] or RequiredLabel() }}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<dt>Start Date</dt>
|
<dt>Start Date</dt>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user