From f3d7eea43ebd2e8a2efd4afbabb32cd6fef4638e Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 28 Jul 2017 15:10:12 +0100 Subject: [PATCH] Hide international pricing by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s really big. --- app/templates/views/pricing.html | 57 +++++++++++++++++--------------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/app/templates/views/pricing.html b/app/templates/views/pricing.html index 90418b19b..6c0cbdade 100644 --- a/app/templates/views/pricing.html +++ b/app/templates/views/pricing.html @@ -61,34 +61,39 @@ times the cost of messages to UK mobile numbers.

- +
+ International text message rates -
- {% call mapping_table( - caption='Letter pricing', - field_headings=['Country code', 'Country', 'Cost multipler'], - field_headings_visible=True, - caption_visible=False - ) %} - {% for cc, names, billable_units in international_sms_rates %} - {% call row() %} - {{ text_field('+' + cc) }} - {% call field() %} - {% for name in names %} - {{ name }}
- {% endfor %} + + +
+ {% call mapping_table( + caption='Letter pricing', + field_headings=['Country code', 'Country', 'Cost multipler'], + field_headings_visible=True, + caption_visible=False + ) %} + {% for cc, names, billable_units in international_sms_rates %} + {% call row() %} + {{ text_field('+' + cc) }} + {% call field() %} + {% for name in names %} + {{ name }}
+ {% endfor %} + {% endcall %} + {{ text_field('{} ×'.format(billable_units)|safe) }} {% endcall %} - {{ text_field('{} ×'.format(billable_units)|safe) }} - {% endcall %} - {% endfor %} - {% endcall %} -
+ {% endfor %} + {% endcall %} +
+ +

Letters