From 5db9ed0391febb7cabfcd7fadb1971abd2fa0bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Thu, 21 Feb 2019 09:06:26 +0000 Subject: [REF] website_slides: refactor the slide archive modal on frontend Purpose ======= This commits refactors the slide archiving confirmation modal to make it a standard Dialog (remove global selectors, remove most of useless xml, ...). It also adds a new slide archive route to allow channel publishers to archive slides in sudo mode. Indeed ACLs only website_publishers can write on slide model. In some case people without real rights may update slides. Commit linked to task ID 1942852 and PR #31394. --- addons/website_slides/static/src/xml/slide_management.xml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 addons/website_slides/static/src/xml/slide_management.xml (limited to 'addons/website_slides/static/src/xml/slide_management.xml') diff --git a/addons/website_slides/static/src/xml/slide_management.xml b/addons/website_slides/static/src/xml/slide_management.xml new file mode 100644 index 00000000000..118c45970fe --- /dev/null +++ b/addons/website_slides/static/src/xml/slide_management.xml @@ -0,0 +1,8 @@ + + + +
+

Are you sure you want to archive this slide ?

+
+
+
-- cgit v1.2.3