Merge pull request #1057 from alphagov/pricing-on-product

Show pricing and number of services on product page
This commit is contained in:
Chris Hill-Scott
2016-12-19 12:49:30 +00:00
committed by GitHub
4 changed files with 51 additions and 4 deletions

View File

@@ -81,7 +81,7 @@
margin-bottom: $gutter-half;
h2 {
@include bold-36;
@include bold-27;
margin: 0 0 $gutter;
}
@@ -97,4 +97,9 @@
}
&-big-number {
@include bold-48($tabular-numbers: true);
margin: 0 0 0 0;
}
}

View File

@@ -26,7 +26,7 @@
<li>Up to 306 characters = 2 text messages</li>
<li>Up to 459 characters = 3 text messages</li>
</ul></li>
<li>Standard text message rate: 1.65p + VAT</li>
<li>Standard text message rate: 1.65 pence + VAT</li>
</ul>
<p>

View File

@@ -95,7 +95,49 @@
</div>
</div>
</div>
<div class="product-page-section bottom-gutter-2">
<div class="product-page-section">
<div class="with-keyline bottom-gutter-2">
<h2>Whos using GOV.UK Notify</h2>
<div class="grid-row bottom-gutter">
<div class="column-half">
<h3 class="visually-hidden">Services</h3>
<div class="product-page-big-number">23</div>
services
</div>
<div class="column-half">
<h3 class="visually-hidden">Departments</h3>
<div class="product-page-big-number">14</div>
departments
</div>
</div>
</div>
</div>
<div class="product-page-section">
<div class="with-keyline bottom-gutter-2">
<h2>Pricing</h2>
<div class="grid-row bottom-gutter">
<div class="column-half">
<h3 class="visually-hidden">Emails</h3>
<div class="product-page-big-number">Unlimited</div>
free emails
</div>
<div class="column-half">
<h3 class="visually-hidden">Text messages</h3>
<div class="product-page-big-number">250,000</div>
free text messages a year, then
1.65 pence per message
</div>
</div>
<div class="grid-row bottom-gutter">
<div class="column-three-quarters">
<p>
Theres no monthly charge, no setup fee and no procurement process.
</p>
</div>
</div>
</div>
</div>
<div class="product-page-section">
<div class="grid-row">
<div class="column-half">
<h2 class="with-keyline">

View File

@@ -37,7 +37,7 @@
{% if sms_chargeable %}
{{ big_number(
sms_chargeable,
'at {:.2f}p per message'.format(sms_rate * 100),
'at {:.2f} pence per message'.format(sms_rate * 100),
smaller=True
) }}
{% endif %}