mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 09:13:58 -04:00
Switch org and service order on home page
This matches what’s on the performance page – orgs on the left, services on the right.
This commit is contained in:
@@ -122,16 +122,16 @@
|
|||||||
<div class="with-keyline bottom-gutter-2" id="whos-using-notify">
|
<div class="with-keyline bottom-gutter-2" id="whos-using-notify">
|
||||||
<h2>Who’s using GOV.UK Notify</h2>
|
<h2>Who’s using GOV.UK Notify</h2>
|
||||||
<div class="govuk-grid-row bottom-gutter">
|
<div class="govuk-grid-row bottom-gutter">
|
||||||
<div class="govuk-grid-column-one-half">
|
|
||||||
<h3 class="govuk-visually-hidden">Services</h3>
|
|
||||||
<div class="product-page-big-number">{{ counts.services|format_thousands }}</div>
|
|
||||||
services
|
|
||||||
</div>
|
|
||||||
<div class="govuk-grid-column-one-half">
|
<div class="govuk-grid-column-one-half">
|
||||||
<h3 class="govuk-visually-hidden">Organisations</h3>
|
<h3 class="govuk-visually-hidden">Organisations</h3>
|
||||||
<div class="product-page-big-number">{{ counts.organisations|format_thousands }}</div>
|
<div class="product-page-big-number">{{ counts.organisations|format_thousands }}</div>
|
||||||
organisations
|
organisations
|
||||||
</div>
|
</div>
|
||||||
|
<div class="govuk-grid-column-one-half">
|
||||||
|
<h3 class="govuk-visually-hidden">Services</h3>
|
||||||
|
<div class="product-page-big-number">{{ counts.services|format_thousands }}</div>
|
||||||
|
services
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="govuk-body">
|
<p class="govuk-body">
|
||||||
See the
|
See the
|
||||||
|
|||||||
@@ -34,10 +34,10 @@ def test_non_logged_in_user_can_see_homepage(
|
|||||||
|
|
||||||
assert normalize_spaces(page.select_one('#whos-using-notify').text) == (
|
assert normalize_spaces(page.select_one('#whos-using-notify').text) == (
|
||||||
'Who’s using GOV.UK Notify '
|
'Who’s using GOV.UK Notify '
|
||||||
'Services '
|
|
||||||
'9,999 services '
|
|
||||||
'Organisations '
|
'Organisations '
|
||||||
'111 organisations '
|
'111 organisations '
|
||||||
|
'Services '
|
||||||
|
'9,999 services '
|
||||||
'See the list of services and organisations.'
|
'See the list of services and organisations.'
|
||||||
)
|
)
|
||||||
assert page.select_one('#whos-using-notify a')['href'] == (
|
assert page.select_one('#whos-using-notify a')['href'] == (
|
||||||
|
|||||||
Reference in New Issue
Block a user