cancel comments in entity notifications

This commit is contained in:
Mathieu Jaumotte 2022-01-28 22:27:30 +01:00
parent 59cdf07c7e
commit da22532587
2 changed files with 2 additions and 11 deletions

View File

@ -113,7 +113,7 @@
{{ _self.title(_context) }}
</button>
{{ _self.header(_context) }}
</div>
<div id="flush-collapse-{{ notification.id }}"
class="accordion-collapse collapse"
@ -122,12 +122,6 @@
{{ _self.content(_context) }}
{% if with_folded_comments is defined and with_folded_comments != false %}
</div>{# close previous flex-table and reopen it after #}
{% include 'ChillMainBundle:Notification:_item_comments.html.twig' %}
<div class="flex-table">
{% endif %}
</div>
{% else %}
{{ _self.title(_context) }}

View File

@ -5,10 +5,7 @@
{% include 'ChillMainBundle:Notification:_list_item.html.twig' with {
'full_content': true,
'fold_item': true,
'action_button': false,
'with_folded_comments': true,
'appendCommentForm': appendCommentForms[notification.id],
'editedCommentForm': null,
'action_button': true,
} %}{#
#}
{% endfor %}