From 702b452b6e46c915b4afef41f967081cecf9d08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Sun, 12 Nov 2017 14:53:08 +0100 Subject: [PATCH] Template improvements for motions and projector - Use same title layout for (current) list of speakers slide. - Set default choose for current list of speakers slide to 'project as slide' if more than one projectors available. - Remove additional control bottons in list of speakers view to stop/end current/next speech. (User should better use the start/stop buttons behind the speaker names.) - Fix typo in projection defaults. - Set sidebox in motion slide to fix position (should not scroll). - Fix order of amendments in motion detail template. - Increase font size of motion block items on slide. --- openslides/agenda/static/js/agenda/site.js | 8 +------- .../list-of-speakers-partial-management.html | 14 +------------- .../partial-slide-current-list-of-speakers.html | 14 +++++++++----- openslides/core/migrations/0002_misc_features.py | 2 +- openslides/core/static/css/projector.css | 10 ++++++---- .../static/templates/motions/motion-detail.html | 2 +- .../static/templates/motions/slide_motion.html | 4 ++-- .../templates/motions/slide_motion_block.html | 8 +++----- 8 files changed, 24 insertions(+), 38 deletions(-) diff --git a/openslides/agenda/static/js/agenda/site.js b/openslides/agenda/static/js/agenda/site.js index 085cf4337..4bd04d2a4 100644 --- a/openslides/agenda/static/js/agenda/site.js +++ b/openslides/agenda/static/js/agenda/site.js @@ -515,12 +515,6 @@ angular.module('OpenSlidesApp.agenda.site', [ case 'removeAll': return (operator.hasPerms('agenda.can_manage_list_of_speakers') && $scope.speakers.length > 0); - case 'beginNextSpeech': - return (operator.hasPerms('agenda.can_manage_list_of_speakers') && - $scope.nextSpeakers.length > 0); - case 'endCurrentSpeech': - return (operator.hasPerms('agenda.can_manage_list_of_speakers') && - $scope.currentSpeaker.length > 0); case 'showLastSpeakers': return $scope.lastSpeakers.length > 0; } @@ -682,7 +676,7 @@ angular.module('OpenSlidesApp.agenda.site', [ var isProjected = $scope.currentListOfSpeakers.isProjectedWithOverlayStatus(); $scope.currentListOfSpeakersAsOverlay = isProjected[0].overlay; } else { - $scope.currentListOfSpeakersAsOverlay = true; + $scope.currentListOfSpeakersAsOverlay = false; } $scope.setOverlay = function (overlay) { $scope.currentListOfSpeakersAsOverlay = overlay; diff --git a/openslides/agenda/static/templates/agenda/list-of-speakers-partial-management.html b/openslides/agenda/static/templates/agenda/list-of-speakers-partial-management.html index e0e21788f..a96f08af8 100644 --- a/openslides/agenda/static/templates/agenda/list-of-speakers-partial-management.html +++ b/openslides/agenda/static/templates/agenda/list-of-speakers-partial-management.html @@ -22,18 +22,6 @@ - - - - @@ -44,7 +32,7 @@ -
+