mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Show user info about mandatory updates.
This commit is contained in:
@@ -83,6 +83,7 @@ return [
|
||||
'flash_info' => 'Message',
|
||||
'flash_warning' => 'Warning!',
|
||||
'flash_error' => 'Error!',
|
||||
'flash_danger' => 'Danger!',
|
||||
'flash_info_multiple' => 'There is one message|There are :count messages',
|
||||
'flash_error_multiple' => 'There is one error|There are :count errors',
|
||||
'net_worth' => 'Net worth',
|
||||
|
||||
@@ -8,6 +8,13 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# MANDATORY UPDATE MESSAGE #}
|
||||
{% if upgrade_security_message and upgrade_security_level %}
|
||||
<div class="alert alert-{{ upgrade_security_level }} alert-dismissible" role="alert">
|
||||
<strong>{{ ('flash_'~upgrade_security_level)|_ }}</strong> <i class="fa fa-exclamation-triangle"></i> {{ upgrade_security_message }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# SUCCESS MESSAGE (ALWAYS SINGULAR) #}
|
||||
{% if session_has('success') %}
|
||||
<div class="alert alert-success alert-dismissible" role="alert">
|
||||
|
||||
Reference in New Issue
Block a user