migrated admin_messages; minor fixes in admin-listing and ipsandports::add defaults
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="alert alert-{{ type }} fade show pb-1" role="alert">
|
||||
<div class="alert alert-{{ type|default("info") }} fade show pb-1" role="alert">
|
||||
{% if heading is defined and heading is not empty %}
|
||||
<h4 class="alert-heading">
|
||||
{{ heading }}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
{% extends "Froxlor/user/form.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row mb-2">
|
||||
{% include 'Froxlor/misc/alertbox.html.twig' %}
|
||||
</div>
|
||||
{% if alert_msg is defined and alert_msg is not empty %}
|
||||
<div class="row mb-2">
|
||||
{% include 'Froxlor/misc/alertbox.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user