From 8d52d4a1c6732b8e38d134dd7c318a963b0b4f90 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 27 Jul 2016 10:03:44 +0200 Subject: [PATCH] Remove unused assignment config to publish winner results only. (Fixes #2145) --- CHANGELOG | 3 +++ openslides/assignments/config_variables.py | 10 ---------- openslides/assignments/static/js/assignments/site.js | 2 -- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 7dcbd24d3..d653eba2a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -18,6 +18,9 @@ Core: Motions: - Added origin field. +Assignments: +- Remove unused assignment config to publish winner election results only. + Users: - Added field is_committee and new default group Committees. diff --git a/openslides/assignments/config_variables.py b/openslides/assignments/config_variables.py index ab38087f5..e742293d2 100644 --- a/openslides/assignments/config_variables.py +++ b/openslides/assignments/config_variables.py @@ -59,16 +59,6 @@ def get_config_variables(): subgroup='Ballot and ballot papers', validators=(MinValueValidator(1),)) - yield ConfigVariable( - name='assignments_publish_winner_results_only', - default_value=False, - input_type='boolean', - label='Publish election result for elected candidates only ' - '(projector view)', - weight=450, - group='Elections', - subgroup='Ballot and ballot papers') - # PDF yield ConfigVariable( diff --git a/openslides/assignments/static/js/assignments/site.js b/openslides/assignments/static/js/assignments/site.js index badc5949f..bfc6de911 100644 --- a/openslides/assignments/static/js/assignments/site.js +++ b/openslides/assignments/static/js/assignments/site.js @@ -710,8 +710,6 @@ angular.module('OpenSlidesApp.assignments.site', ['OpenSlidesApp.assignments']) gettext('Number of all participants'); gettext('Use the following custom number'); gettext('Custom number of ballot papers'); - gettext('Publish election result for elected candidates only (' + - 'projector view)'); gettext('Title for PDF document (all elections)'); gettext('Preamble text for PDF document (all elections)'); }