From 3ca254c88e72aecbe11ae40708eb6b6e4401d842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Wed, 1 Feb 2017 23:24:36 +0100 Subject: [PATCH] Show/hide internal items in agenda sort view. --- openslides/agenda/static/js/agenda/site.js | 1 + .../static/templates/agenda/item-sort.html | 17 +++++++++++++---- openslides/core/static/css/app.css | 9 +++++++++ 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/openslides/agenda/static/js/agenda/site.js b/openslides/agenda/static/js/agenda/site.js index d29637ac2..6754e062e 100644 --- a/openslides/agenda/static/js/agenda/site.js +++ b/openslides/agenda/static/js/agenda/site.js @@ -572,6 +572,7 @@ angular.module('OpenSlidesApp.agenda.site', [ }, function () { $scope.items = AgendaTree.getTree(Agenda.getAll()); }); + $scope.showInternalItems = true; // save parent and weight of moved agenda item (and all items on same level) $scope.treeOptions = { diff --git a/openslides/agenda/static/templates/agenda/item-sort.html b/openslides/agenda/static/templates/agenda/item-sort.html index 81387a137..eebe04d65 100644 --- a/openslides/agenda/static/templates/agenda/item-sort.html +++ b/openslides/agenda/static/templates/agenda/item-sort.html @@ -10,24 +10,33 @@ -
+

Drag and drop items to change the order of the agenda. Your modification will be saved immediately.

+

+ +

-

* Internal item