Template fixes for motion preamble (#2760).
This commit is contained in:
parent
7772f60bd4
commit
32b7ddedce
@ -1159,7 +1159,9 @@ img {
|
||||
.spacer-left-lg {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.no-padding {
|
||||
padding: 0px;
|
||||
}
|
||||
.lead-div {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ def get_config_variables():
|
||||
|
||||
yield ConfigVariable(
|
||||
name='motions_preamble',
|
||||
default_value='The assembly may decide,',
|
||||
default_value='The assembly may decide:',
|
||||
label='Motion preamble',
|
||||
weight=320,
|
||||
group='Motions',
|
||||
|
@ -252,7 +252,7 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf'])
|
||||
var motionPreamble = function () {
|
||||
return {
|
||||
text: Config.translate(Config.get('motions_preamble').value),
|
||||
style: 'textItem',
|
||||
margin: [0, 10, 0, 0]
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -481,6 +481,9 @@ angular.module('OpenSlidesApp.motions.site', [
|
||||
required: true
|
||||
}
|
||||
},
|
||||
{
|
||||
template: '<p class="spacer-top-lg no-padding">' + Config.translate(Config.get('motions_preamble').value) + '</p>'
|
||||
},
|
||||
{
|
||||
key: 'text',
|
||||
type: 'editor',
|
||||
@ -1942,7 +1945,7 @@ angular.module('OpenSlidesApp.motions.site', [
|
||||
gettext('Serially numbered');
|
||||
gettext('Set it manually');
|
||||
gettext('Motion preamble');
|
||||
gettext('The assembly may decide,');
|
||||
gettext('The assembly may decide:');
|
||||
gettext('Default line numbering');
|
||||
/// Line numbering: Outside
|
||||
gettext('Outside');
|
||||
|
Loading…
Reference in New Issue
Block a user