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