Use yellow warning banner for permissions message

The green bordered banner feels too much like ‘success’ or
‘confirmation’. Doesn’t feel like it’s something which just gives you
the status of a thing, or here’s a thing you should be aware of.
This commit is contained in:
Chris Hill-Scott
2017-07-24 16:19:28 +01:00
parent c15491974d
commit d51ffe6b39
2 changed files with 4 additions and 3 deletions

View File

@@ -160,7 +160,7 @@
background: $yellow; background: $yellow;
color: $text-colour; color: $text-colour;
border: 5px solid $text-colour; border: 5px solid $text-colour;
margin: $gutter 0 $gutter 0; margin: $gutter-half 0 $gutter 0;
text-align: left; text-align: left;
padding: 20px; padding: 20px;

View File

@@ -1,5 +1,6 @@
{% from "components/banner.html" import banner_wrapper %} {% from "components/banner.html" import banner_wrapper %}
{% call banner_wrapper(type="default") %} {% call banner_wrapper(type="warning") %}
You only have permission to view this service You only have permission to view this service. To send messages, edit
templates or manage team members, contact the person who invited you.
{% endcall %} {% endcall %}