Review.
This commit is contained in:
parent
6fba75c78b
commit
09aa2dea72
@ -271,7 +271,7 @@ angular.module('OpenSlidesApp.motions', [
|
||||
'motions/motionpoll': {
|
||||
localField: 'polls',
|
||||
foreignKey: 'motion_id',
|
||||
},
|
||||
}
|
||||
},
|
||||
hasOne: {
|
||||
'motions/workflowstate': {
|
||||
|
@ -1084,6 +1084,7 @@ angular.module('OpenSlidesApp.motions.site', ['OpenSlidesApp.motions', 'OpenSlid
|
||||
// ... for amendments add parent_id
|
||||
if (isAmendment) {
|
||||
if (Config.get('motions_amendments_apply_title_text').value) {
|
||||
$scope.model.title = $scope.$parent.motion.getTitle();
|
||||
$scope.model.text = $scope.$parent.motion.getText();
|
||||
}
|
||||
$scope.model.parent_id = $scope.$parent.motion.id;
|
||||
@ -1665,6 +1666,7 @@ angular.module('OpenSlidesApp.motions.site', ['OpenSlidesApp.motions', 'OpenSlid
|
||||
gettext('Prefix for the identifier for amendments');
|
||||
/// Prefix for the identifier for amendments
|
||||
gettext('A');
|
||||
gettext('Apply title and text for new amendments');
|
||||
|
||||
// subgroup Suppoerters
|
||||
gettext('Supporters');
|
||||
|
@ -81,7 +81,7 @@
|
||||
<translate>Unsupport motion</translate>
|
||||
</button>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- Amendments -->
|
||||
<div ng-if="config('motions_amendments_enabled')">
|
||||
<h3 translate>Amendments</h3>
|
||||
<div ng-repeat="amendment in amendments">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<h1 ng-if="model.id" translate>Edit motion</h1>
|
||||
<h1 ng-if="!model.id && !parent" translate>New motion</h1>
|
||||
<h1 ng-if="parent"><translate>New amendment of motion {{ parent.identifier || parent.getTitle() }}</translate></h1>
|
||||
<h1 ng-if="parent"><translate>New amendment of motion</translate> {{ parent.identifier || parent.getTitle() }}</h1>
|
||||
|
||||
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||
{{ alert.msg }}
|
||||
|
Loading…
Reference in New Issue
Block a user