Browse Source

tweaked look of flash messages

php2python
Holger Frey 7 years ago
parent
commit
e06acbb26b
  1. 2
      ordr2/templates/account/register_sucessful.jinja2
  2. 4
      ordr2/templates/macros.jinja2

2
ordr2/templates/account/register_sucessful.jinja2

@ -17,7 +17,7 @@
<div class="span10 offset1"> <div class="span10 offset1">
{{ macros.flash_messages() }} {{ macros.flash_messages() }}
<div class="alert block-alert success-alert"> <div class="alert alert-info">
<h4 class="alert-heading">Not so fast!</h4> <h4 class="alert-heading">Not so fast!</h4>
<p> <p>
Before you can log in your account has first to be activated by an admin. Before you can log in your account has first to be activated by an admin.

4
ordr2/templates/macros.jinja2

@ -6,9 +6,9 @@
{% if message.dismissable %} {% if message.dismissable %}
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
{% endif %} {% endif %}
<strong>{{message.message|safe}}</strong> <h4 class="alert-heading">{{message.message|safe}}</h4>
{% if message.description %} {% if message.description %}
<br>{{message.description|safe}} <p>{{message.description|safe}}</p>
{% endif %} {% endif %}
</div> </div>
{% endfor %} {% endfor %}