",htmlentities($item['badge_message']))."
TEST ALERT
+#} +{ +"messages": [ +{% for alert in alerts %} +{ +"id": "{{ alert.id }}", +"message": "{{ alert.content | e("js") }}", +"filtre": "aucun", +"valeur": "[]", +"flag": "", +"closeable": "{{ alert.fghideable }}", +"requestable": "false", +"display_mode": "postit", +"responses": "[]", +"url": "", +"start": "2020-09-02 00:00:00", +"stop": "2020-10-01 23:59:59", +"updated": "2020-09-03 10:45:21", +"user_responses": [] +}, +{% endfor %} +], +"admin": true +}, +{# +id = {{ alert.id }} +background = {{ alert.alertcategory.color ? '#'~alert.alertcategory.color : '#'~colormain }}; +{% if alert.alertcategory.icon %} + icon ="/{{ alias }}/{{ alert.alertcategory.icon.label }}" +{% else %} + icon = "/{{ alias }}/uploads/icon/icon_megaphone.png" +{% endif %} +title = {{ alert.title }} +hideable = {{ alert.fghideable }} +contenu = {{ alert.content }} +#} + diff --git a/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/composer.json b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/composer.json new file mode 100644 index 00000000..64335a6b --- /dev/null +++ b/src/ninegate-1.0/src/Cadoles/EdispatcherBundle/composer.json @@ -0,0 +1,12 @@ +{ + "name" : "acreunion/edispatcherbundle", + "description" : "", + "type" : "symfony-bundle", + "minimum-stability" : "dev", + "autoload" : { + "psr-0" : { + "Acreunion\\EdispatcherBundle" : "" + } + }, + "target-dir" : "Acreunion/EdispatcherBundle" +} diff --git a/tmpl/ninegate-template.yml b/tmpl/ninegate-template.yml index f5c19814..3d48b20d 100644 --- a/tmpl/ninegate-template.yml +++ b/tmpl/ninegate-template.yml @@ -542,6 +542,7 @@ doctrine: CadolesCronBundle: ~ CadolesPortalBundle: ~ CadolesWebsocketBundle: ~ + CadolesEdispatcherBundle: ~ \ No newline at end of file