From 07d95fd10a580eb4bfe4801ba29d344c75e08f5b Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 12 Apr 2016 22:26:13 +0200 Subject: [PATCH 1/3] Allow to show vote value '0' in motion poll result view. --- openslides/motions/static/js/motions/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/motions/static/js/motions/base.js b/openslides/motions/static/js/motions/base.js index c6fdb80a8..174cf9df1 100644 --- a/openslides/motions/static/js/motions/base.js +++ b/openslides/motions/static/js/motions/base.js @@ -68,7 +68,7 @@ angular.module('OpenSlidesApp.motions', ['OpenSlidesApp.users']) methods: { // returns object with value and percent getVote: function (vote) { - if (!this.has_votes || !vote) { + if (!this.has_votes) { return; } var value = ''; From f5125d0d23caf303def722237f6dd3b4ad4c98b1 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 12 Apr 2016 22:33:53 +0200 Subject: [PATCH 2/3] Add content object (motion/election) in agenda sort view. --- openslides/agenda/static/templates/agenda/item-sort.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/agenda/static/templates/agenda/item-sort.html b/openslides/agenda/static/templates/agenda/item-sort.html index 80981ffeb..c320702b3 100644 --- a/openslides/agenda/static/templates/agenda/item-sort.html +++ b/openslides/agenda/static/templates/agenda/item-sort.html @@ -26,7 +26,7 @@