Small changes in templates [skip ci]

This commit is contained in:
James Cole 2017-12-13 18:46:30 +01:00
parent 9264f1e9b9
commit 11b5a0294e
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@
</div>
<!-- panel for credit card options -->
{% if Session.get('preFilled').accountRole == 'ccAsset' %}
{% if preFilled.accountRole == 'ccAsset' %}
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'credit_card_options'|_ }}</h3>

View File

@ -9,7 +9,7 @@
{% endif %}
{# SUCCESS MESSAGE (ALWAYS SINGULAR) #}
{% if Session.has('success') %}
{% if session_has('success') %}
<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>
@ -19,7 +19,7 @@
{% endif %}
{# INFO MESSAGE (CAN BE MULTIPLE) #}
{% if Session.has('info') %}
{% if session_has('info') %}
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
<span>&times;</span><span class="sr-only">{{ 'close'|_ }}</span>
@ -49,7 +49,7 @@
{% endif %}
{# WARNING MESSAGE (ALWAYS SINGULAR) #}
{% if Session.has('warning') %}
{% if session_has('warning') %}
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
<span>&times;</span><span class="sr-only">{{ 'close'|_ }}</span>
@ -59,7 +59,7 @@
{% endif %}
{# ERROR MESSAGE (CAN BE MULTIPLE) #}
{% if Session.has('error') %}
{% if session_has('error') %}
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
<span>&times;</span><span class="sr-only">{{ 'close'|_ }}</span>