mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
28 lines
1.3 KiB
Twig
28 lines
1.3 KiB
Twig
{% if Session.has('success') %}
|
|
<div class="alert alert-success alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span></button>
|
|
<strong>Success!</strong> {{Session.get('success')}}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if Session.has('info') %}
|
|
<div class="alert alert-info alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span></button>
|
|
<strong>Info:</strong> {{Session.get('info')}}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if Session.has('warning') %}
|
|
<div class="alert alert-warning alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span></button>
|
|
<strong>Warning!</strong> {{Session.get('warning')}}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if Session.has('error') %}
|
|
<div class="alert alert-danger alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span></button>
|
|
<strong>Error!</strong> {{Session.get('error')}}
|
|
</div>
|
|
{% endif %}
|