From 530962dc1577b21aaa4eca8fc933b05fff63c2c0 Mon Sep 17 00:00:00 2001 From: afornerot Date: Wed, 10 Jul 2019 09:14:38 +0200 Subject: [PATCH] svg --- .../src/Cadoles/CoreBundle/Resources/views/base.html.twig | 2 +- .../Resources/views/Pagewidget/viewalert.html.twig | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/base.html.twig b/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/base.html.twig index f4337ce0..f75c96ca 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/base.html.twig +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/base.html.twig @@ -56,7 +56,7 @@ {% if not app.session.get('sublogo') is empty %} {% endif %} - +
{{ app.session.get('appname') }}
{% if not app.session.get('subappname') is empty %} {{ app.session.get('subappname') }} diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewalert.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewalert.html.twig index afeb39bd..bc31707a 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewalert.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagewidget/viewalert.html.twig @@ -11,8 +11,7 @@ {% set stylewidgetheader = constants.mystylewidgetheader(entity) %} {% set stylewidgetbody = constants.mystylewidgetbody(entity) %} - - +{% if canupdate or alerts|length>0 %}
{% if canupdate %}
@@ -53,6 +52,6 @@ {% endfor %}
- +{% endif %}