From 801e4ce064c1d285100d81e3190839d36456d80e Mon Sep 17 00:00:00 2001 From: Leny Bernard Date: Sun, 9 Sep 2018 21:10:38 +0200 Subject: [PATCH] add troopers/alertify-bundle recipe --- .../3.0/config/packages/troopers_alertify.yaml | 10 ++++++++++ troopers/alertify-bundle/3.0/manifest.json | 9 +++++++++ troopers/alertify-bundle/3.0/post-install.txt | 15 +++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 troopers/alertify-bundle/3.0/config/packages/troopers_alertify.yaml create mode 100644 troopers/alertify-bundle/3.0/manifest.json create mode 100644 troopers/alertify-bundle/3.0/post-install.txt diff --git a/troopers/alertify-bundle/3.0/config/packages/troopers_alertify.yaml b/troopers/alertify-bundle/3.0/config/packages/troopers_alertify.yaml new file mode 100644 index 00000000..c0111d19 --- /dev/null +++ b/troopers/alertify-bundle/3.0/config/packages/troopers_alertify.yaml @@ -0,0 +1,10 @@ +#Please learn more about alertify contexts https://github.com/Troopers/AlertifyBundle/blob/master/Resources/doc/configuration.md +troopers_alertify: + contexts: + front: + engine: "notie" + layout: "top" + translationDomain: "messages" + options: + alertTime: 10 + diff --git a/troopers/alertify-bundle/3.0/manifest.json b/troopers/alertify-bundle/3.0/manifest.json new file mode 100644 index 00000000..a0303735 --- /dev/null +++ b/troopers/alertify-bundle/3.0/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Troopers\\AlertifyBundle\\TroopersAlertifyBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} + diff --git a/troopers/alertify-bundle/3.0/post-install.txt b/troopers/alertify-bundle/3.0/post-install.txt new file mode 100644 index 00000000..e2432631 --- /dev/null +++ b/troopers/alertify-bundle/3.0/post-install.txt @@ -0,0 +1,15 @@ +🎉 Getting started using troopers/alertify-bundle + +Finish the configuration: +1. You MUST follow the guide to include js and / or css assets https://github.com/Troopers/AlertifyBundle/blob/master/Resources/doc/configuration.md. +2. You MAY configure your favorite alert library (toastr, notie, pushjs... and even your own). + +Warning: make sure the twig engine is turned on in framework.yaml. + + - If not, add the following to config/packages/framework.yaml: + +framework: + # ... + templating: + engines: ['twig'] +