Add explanation for the news list

parent d4e787e2
......@@ -221,6 +221,8 @@ services:
admin.news:
class: App\Admin\NewsAdmin
arguments: [~, App\Document\News, 'PixSortableBehaviorBundle:SortableAdmin']
calls:
- [setTemplate, ['list', 'admin/list/list_news.html.twig']]
tags:
- { name: sonata.admin, manager_type: doctrine_mongodb, group: emailing, label: Nouvelles (newsletter) }
......
{% extends '@SonataAdmin/CRUD/base_list.html.twig' %}
{% block list_header %}
<p>
<h4 style="margin: 0 0 20px 10px">Liste des nouvelles qui peuvent être incluses dans la newsletter</h4>
</p>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment