mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Hide international pricing by default
It’s really big.
This commit is contained in:
@@ -61,34 +61,39 @@
|
|||||||
times the cost of messages to UK mobile numbers.
|
times the cost of messages to UK mobile numbers.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="live-search" data-module="live-search" data-targets="#international-pricing .table-row">
|
<details>
|
||||||
{{ textbox(
|
<summary>International text message rates</summary>
|
||||||
search_form.search,
|
|
||||||
width='1-1',
|
|
||||||
label='Search by country name or code'
|
|
||||||
) }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="international-pricing" class="bottom-gutter-3-2">
|
<div class="live-search" data-module="live-search" data-targets="#international-pricing .table-row">
|
||||||
{% call mapping_table(
|
{{ textbox(
|
||||||
caption='Letter pricing',
|
search_form.search,
|
||||||
field_headings=['Country code', 'Country', 'Cost multipler'],
|
width='1-1',
|
||||||
field_headings_visible=True,
|
label='Search by country name or code'
|
||||||
caption_visible=False
|
) }}
|
||||||
) %}
|
</div>
|
||||||
{% for cc, names, billable_units in international_sms_rates %}
|
|
||||||
{% call row() %}
|
<div id="international-pricing" class="bottom-gutter-3-2">
|
||||||
{{ text_field('+' + cc) }}
|
{% call mapping_table(
|
||||||
{% call field() %}
|
caption='Letter pricing',
|
||||||
{% for name in names %}
|
field_headings=['Country code', 'Country', 'Cost multipler'],
|
||||||
{{ name }}<br>
|
field_headings_visible=True,
|
||||||
{% endfor %}
|
caption_visible=False
|
||||||
|
) %}
|
||||||
|
{% for cc, names, billable_units in international_sms_rates %}
|
||||||
|
{% call row() %}
|
||||||
|
{{ text_field('+' + cc) }}
|
||||||
|
{% call field() %}
|
||||||
|
{% for name in names %}
|
||||||
|
{{ name }}<br>
|
||||||
|
{% endfor %}
|
||||||
|
{% endcall %}
|
||||||
|
{{ text_field('{} ×'.format(billable_units)|safe) }}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{{ text_field('{} ×'.format(billable_units)|safe) }}
|
{% endfor %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% endfor %}
|
</div>
|
||||||
{% endcall %}
|
|
||||||
</div>
|
</details>
|
||||||
|
|
||||||
<h2 class="heading-medium">
|
<h2 class="heading-medium">
|
||||||
Letters
|
Letters
|
||||||
|
|||||||
Reference in New Issue
Block a user