From 0e24d9b632211cacf9d457d8b76ea495cd27d122 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sat, 16 Jan 2016 14:19:00 +0100 Subject: [PATCH] Modify motion/assignment/customslide in form dialog without updating list/detail view. --- .../static/templates/agenda/item-list.html | 4 +- .../assignments/static/js/assignments/site.js | 19 +++- .../assignments/assignment-form.html | 4 + openslides/core/static/js/core/site.js | 95 +++++++++++++++---- .../templates/core/customslide-detail.html | 6 ++ .../templates/core/customslide-form.html | 4 + openslides/motions/static/js/motions/site.js | 20 +++- .../static/templates/motions/motion-form.html | 4 + 8 files changed, 129 insertions(+), 27 deletions(-) diff --git a/openslides/agenda/static/templates/agenda/item-list.html b/openslides/agenda/static/templates/agenda/item-list.html index 206af3cef..2fc6d461f 100644 --- a/openslides/agenda/static/templates/agenda/item-list.html +++ b/openslides/agenda/static/templates/agenda/item-list.html @@ -144,8 +144,8 @@
List of speakers | - QuickEdit | - Edit + Edit | + QuickEdit | Edit election

New election

+ + {{ alert.msg }} + +

{{ customslide.agenda_item.getTitle() }}

Agenda item

diff --git a/openslides/core/static/templates/core/customslide-form.html b/openslides/core/static/templates/core/customslide-form.html index 2ad1ce6cc..e462e0f19 100644 --- a/openslides/core/static/templates/core/customslide-form.html +++ b/openslides/core/static/templates/core/customslide-form.html @@ -1,6 +1,10 @@

Edit agenda item

New agenda item

+ + {{ alert.msg }} + +