oscar template: update messages

This commit is contained in:
Thomas Pointhuber 2014-09-27 11:51:31 +02:00
parent a538bed745
commit 9158571059
6 changed files with 19 additions and 6 deletions

View file

@ -1,8 +1,9 @@
{% from 'oscar/macros.html' import icon %}
<div class="alert alert-danger fade in" role="alert">
<button class="close" data-dismiss="alert" type="button">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<strong>{{ _('Oh snap!') }}</strong>
<strong class="lead">{{ icon('exclamation-sign') }} {{ _('Oh snap!') }}</strong>
{{ _('Something went wrong.') }}
</div>