Fixed translation strings and permission check. Updated Changelog.

This commit is contained in:
Emanuel Schütze 2018-08-30 15:05:08 +02:00
parent 1dd1a4bac8
commit 6bae5cf87a
4 changed files with 18 additions and 15 deletions

View File

@ -6,31 +6,33 @@ https://openslides.org/
Version 2.3 (unreleased) Version 2.3 (unreleased)
======================== ========================
`Release notes <https://github.com/OpenSlides/OpenSlides/wiki/OpenSlides-2.3>`_ ·
`Milestone <https://github.com/OpenSlides/OpenSlides/milestones/2.3>`_
Agenda: Agenda:
- New item type 'hidden'. New visibilty filter in agenda [#3790]. - New item type 'hidden'. New visibilty filter in agenda [#3790].
Elections:
- Support to change decimal places for elections with a plugin [#3803]
Motions: Motions:
- New feature to scroll the projector to a specific line [#3748]. - New feature to scroll the projector to a specific line [#3748].
- New possibility to sort submitters [#3647]. - New possibility to sort submitters [#3647].
- New representation of amendments (paragraph based creation, new diff - New representation of amendments (paragraph based creation, new diff
and list views for amendments) [#3637]. and list views for amendments) [#3637].
- New feature to customize workflows and states [#3772, #3785]. - New feature to customize workflows and states [#3772, #3785].
- New config options to show logos on the right side in PDF [#3768].
- New table of contents with page numbers and categories in PDF [#3766]. - New table of contents with page numbers and categories in PDF [#3766].
- New teporal field "modified final version" where the final version can - New teporal field "modified final version" where the final version can
be edited [#3781]. be edited [#3781].
- New config options to show logos on the right side in PDF [#3768].
- New config to show amendments also in motions table [#3792]. - New config to show amendments also in motions table [#3792].
- Support to change decimal places for polls with a plugin [#3803]. - Support to change decimal places for polls with a plugin [#3803].
Elections:
- Support to change decimal places for elections with a plugin [#3803]
Core: Core:
- Python 3.4 is not supported anymore [#3777].
- Support Python 3.7 [#3786].
- Updated pdfMake to 0.1.37 [#3766].
- Updated Django to 2.1 [#3777, #3786]. - Updated Django to 2.1 [#3777, #3786].
- Support for Python 3.7 [#3786].
- Python 3.4 is not supported anymore [#3777].
- Updated pdfMake to 0.1.37 [#3766].
- Changed behavior of collectstatic management command [#3804]. - Changed behavior of collectstatic management command [#3804].

View File

@ -299,7 +299,7 @@ def get_config_variables():
yield ConfigVariable( yield ConfigVariable(
name='logo_pdf_header_L', name='logo_pdf_header_L',
default_value={ default_value={
'display_name': 'PDF header logo (Left)', 'display_name': 'PDF header logo (left)',
'path': ''}, 'path': ''},
input_type='static', input_type='static',
weight=310, weight=310,
@ -309,7 +309,7 @@ def get_config_variables():
yield ConfigVariable( yield ConfigVariable(
name='logo_pdf_header_R', name='logo_pdf_header_R',
default_value={ default_value={
'display_name': 'PDF header logo (Right)', 'display_name': 'PDF header logo (right)',
'path': ''}, 'path': ''},
input_type='static', input_type='static',
weight=311, weight=311,
@ -319,7 +319,7 @@ def get_config_variables():
yield ConfigVariable( yield ConfigVariable(
name='logo_pdf_footer_L', name='logo_pdf_footer_L',
default_value={ default_value={
'display_name': 'PDF footer logo (Left)', 'display_name': 'PDF footer logo (left)',
'path': ''}, 'path': ''},
input_type='static', input_type='static',
weight=312, weight=312,
@ -329,7 +329,7 @@ def get_config_variables():
yield ConfigVariable( yield ConfigVariable(
name='logo_pdf_footer_R', name='logo_pdf_footer_R',
default_value={ default_value={
'display_name': 'PDF footer logo (Right)', 'display_name': 'PDF footer logo (right)',
'path': ''}, 'path': ''},
input_type='static', input_type='static',
weight=313, weight=313,

View File

@ -2119,9 +2119,10 @@ angular.module('OpenSlidesApp.core.site', [
gettext('List of speakers overlay'); gettext('List of speakers overlay');
gettext('Projector logo'); gettext('Projector logo');
gettext('Projector header image'); gettext('Projector header image');
gettext('PDF header logo (Left)'); gettext('PDF header logo (left)');
gettext('PDF header logo (Right)'); gettext('PDF header logo (right)');
gettext('PDF footer logo'); gettext('PDF footer logo (left)');
gettext('PDF footer logo (right)');
gettext('Web interface header logo'); gettext('Web interface header logo');
gettext('PDF ballot paper logo'); gettext('PDF ballot paper logo');
gettext('Custom translations'); gettext('Custom translations');

View File

@ -1,7 +1,7 @@
<!-- Modified agreed view --> <!-- Modified agreed view -->
<div ng-if="viewChangeRecommendations.mode == 'modified_agreed'"> <div ng-if="viewChangeRecommendations.mode == 'modified_agreed'">
<div style="text-align: right;"> <div style="text-align: right;">
<button class="btn btn-default btn-danger btn-sm" <button class="btn btn-default btn-danger btn-sm" os-perms="motions.can_manage"
ng-bootbox-confirm="{{ 'Do you want to delete the final print template?' | translate }}" ng-bootbox-confirm="{{ 'Do you want to delete the final print template?' | translate }}"
ng-bootbox-confirm-action="viewChangeRecommendations.deleteModifiedFinalVersion(motion, version)"> ng-bootbox-confirm-action="viewChangeRecommendations.deleteModifiedFinalVersion(motion, version)">
<i class="fa fa-trash"></i> <i class="fa fa-trash"></i>