Can have link in success message to the transaction it refers to

This commit is contained in:
David Meiseles
2018-08-20 11:36:13 -04:00
parent 433da921bb
commit d30da7bf5d
2 changed files with 11 additions and 1 deletions

View File

@@ -18,6 +18,16 @@
</div>
{% endif %}
{# SUCCESS MESSAGE WITH URL (ALWAYS SINGULAR) #}
{% if session_has('success_uri') %}
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
<span>&times;</span><span class="sr-only">{{ 'close'|_ }}</span>
</button>
<strong>{{ 'flash_success'|_ }}</strong> {{ session('success_uri') | striptags('<a>') | raw }}
</div>
{% endif %}
{# INFO MESSAGE (CAN BE MULTIPLE) #}
{% if session_has('info') %}
<div class="alert alert-info alert-dismissible" role="alert">