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:
Jenny Duckett
2016-12-05 17:04:34 +00:00
parent c88a961e04
commit 3a637c8fa9
2 changed files with 2 additions and 2 deletions

View File

@@ -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(

View File

@@ -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})