Remove banner for trial mode message

The yellow banner didn’t make this information much more noticeable,
and it made some people miss the request to go live link because it
wasn’t blue.

This commit brings the design back to where it was as of this PR:
https://github.com/alphagov/notifications-admin/pull/904
This commit is contained in:
Chris Hill-Scott
2016-11-04 09:50:11 +00:00
parent dae10429e6
commit a36f38edb8
2 changed files with 20 additions and 18 deletions

View File

@@ -35,6 +35,10 @@
margin-bottom: $gutter-half;
}
.bottom-gutter-3-2 {
margin-bottom: $gutter * 3/2;
}
.bottom-gutter-2 {
margin-bottom: $gutter * 2;
}

View File

@@ -11,24 +11,7 @@
<h1 class="heading-large">Settings</h1>
{% if current_service.restricted %}
{% call banner_wrapper(type='warning') %}
<h2 class="heading-medium">Your service is in trial mode</h2>
<ul class='list list-bullet'>
<li>you can only send messages to yourself</li>
<li>you can add people to your team, then you can send messages to them too</li>
<li>you can only send 50 messages per day</li>
</ul>
<p>
To remove these restrictions
<a href="{{ url_for('.service_request_to_go_live', service_id=current_service.id) }}">request to go live</a>.
</p>
{% endcall %}
{% endif %}
<div class="bottom-gutter-2">
<div class="bottom-gutter-3-2">
{% call mapping_table(
caption='Settings',
@@ -57,6 +40,21 @@
{% endcall %}
</div>
{% if current_service.restricted %}
<h2 class="heading-medium">Your service is in trial mode</h2>
<ul class='list list-bullet'>
<li>you can only send messages to yourself</li>
<li>you can add people to your team, then you can send messages to them too</li>
<li>you can only send 50 messages per day</li>
</ul>
<p>
To remove these restrictions
<a href="{{ url_for('.service_request_to_go_live', service_id=current_service.id) }}">request to go live</a>.
</p>
{% endif %}
{% if current_user.has_permissions([], admin_override=True) %}
<h2 class="heading-medium">Platform admin settings</h2>