force ShowInNotification background (for odd gray container)

This commit is contained in:
Mathieu Jaumotte 2022-01-10 14:26:07 +01:00
parent a1ec2b637d
commit 5a739380cd
4 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,7 @@
{% block content %}
<div class="col-8 notification notification-new">
<h1 class="mb-3">{{ block('title') }}</h1>
<h1 class="mb-5">{{ block('title') }}</h1>
{{ form_start(form, { 'attr': { 'id': 'notification' }}) }}

View File

@ -14,7 +14,7 @@
{% block content %}
<div class="col-8 notification notification-edit">
<h1 class="mb-3">{{ block('title') }}</h1>
<h1 class="mb-5">{{ block('title') }}</h1>
{{ form_start(form, { 'attr': { 'id': 'notification' }}) }}

View File

@ -1,4 +1,4 @@
<div class="item-bloc">
<div class="item-bloc{% if itemBlocClass is defined %} {{ itemBlocClass }}{% endif %}">
<div class="item-row">
<div class="wrap-header">
<div class="wh-row">

View File

@ -9,7 +9,8 @@
<div class="flex-table">
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_SEE', period) %}
{% include 'ChillPersonBundle:AccompanyingPeriod:_list_item.html.twig' with {
'recordAction': _self.recordAction(notification.relatedEntityId)
'recordAction': _self.recordAction(notification.relatedEntityId),
'itemBlocClass': 'bg-chill-llight-gray'
} %}
{% else %}
<div class="alert alert-warning border-warning border-1">