mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 13:23:40 -05:00
Move "Today" heading to left column on platform admin page
When we make the numbers on this page more filterable the date range will be one of the options to change, so it makes sense to move it to the side now instead of leaving it above the big numbers.
This commit is contained in:
@@ -99,6 +99,7 @@
|
||||
<div class="column-one-third">
|
||||
<nav class="navigation">
|
||||
<ul>
|
||||
<li>Showing stats for today</li>
|
||||
{% if include_from_test_key %}
|
||||
<li>Including test key (<a href="{{ url_for('.platform_admin', include_from_test_key=False) }}">change</a>)</li>
|
||||
{% else %}
|
||||
@@ -108,7 +109,6 @@
|
||||
</nav>
|
||||
</div>
|
||||
<main role="main" class="column-two-thirds column-main">
|
||||
<h2 class='heading-medium'>Today</h2>
|
||||
<div class="grid-row bottom-gutter">
|
||||
<div class="column-half">
|
||||
{{ big_number_with_status(
|
||||
|
||||
@@ -81,7 +81,7 @@ def test_should_render_platform_admin_page(
|
||||
assert response.status_code == 200
|
||||
resp_data = response.get_data(as_text=True)
|
||||
assert 'Platform admin' in resp_data
|
||||
assert 'Today' in resp_data
|
||||
assert 'Showing stats for today' in resp_data
|
||||
assert 'Live services' in resp_data
|
||||
assert 'Trial mode services' in resp_data
|
||||
mock_get_detailed_services.assert_called_once_with({'detailed': True})
|
||||
|
||||
Reference in New Issue
Block a user