Merge pull request #1969 from emanuelschuetze/templateFixes
Template fixes
This commit is contained in:
commit
8436963dce
@ -107,7 +107,7 @@
|
||||
<!-- Next speakers -->
|
||||
<h3 translate>Next speakers</h3>
|
||||
<div ng-show="speakers.length > 0">
|
||||
<div ui-tree="treeOptions" class="halfWidth">
|
||||
<div ui-tree="treeOptions">
|
||||
<ol ui-tree-nodes="" ng-model="speakers">
|
||||
<li ng-repeat="speaker in speakers | filter: {begin_time: null}" ui-tree-node>
|
||||
<i os-perms="agenda.can_manage" ui-tree-handle="" class="fa fa-arrows-v"></i>
|
||||
|
@ -12,8 +12,8 @@
|
||||
</div>
|
||||
|
||||
<!-- Last speakers -->
|
||||
<p ng-repeat="speaker in item.speakers | filter: {end_time: '!!', begin_time: '!!'} |
|
||||
limitTo: config('agenda_show_last_speakers')" class="lastSpeakers">
|
||||
<p ng-repeat="speaker in lastSpeakers = (item.speakers | filter: {end_time: '!!', begin_time: '!!'}) |
|
||||
limitTo: config('agenda_show_last_speakers') : (lastSpeakers.length - config('agenda_show_last_speakers'))" class="lastSpeakers">
|
||||
{{ speaker.user.get_full_name() }}
|
||||
|
||||
<!-- Current speaker -->
|
||||
|
@ -82,7 +82,7 @@ body{
|
||||
top: 150px;
|
||||
right: 50px;
|
||||
z-index: -1;
|
||||
line-height: 28px;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
.scrollcontent {
|
||||
transition-property: margin, font-size;
|
||||
|
@ -5,8 +5,9 @@
|
||||
<input ng-if="type != 'choice' && type != 'textarea'"
|
||||
ng-model="$parent.value"
|
||||
ng-change="save(configOption.key, $parent.value)"
|
||||
ng-class="{ 'form-control': type != 'checkbox' }"
|
||||
id="{{ key }}"
|
||||
type="{{ type }}" class="form-control">
|
||||
type="{{ type }}">
|
||||
|
||||
<textarea ng-if="type == 'textarea'"
|
||||
ng-model="$parent.value"
|
||||
|
@ -68,7 +68,7 @@ def setup_motion_config(sender, **kwargs):
|
||||
subgroup=ugettext_lazy('General'))
|
||||
|
||||
# Amendments
|
||||
|
||||
# Amendments currently not implemented. (TODO: Implement it like in OpenSlides 1.7.)
|
||||
yield ConfigVariable(
|
||||
name='motions_amendments_enabled',
|
||||
default_value=False,
|
||||
@ -167,6 +167,7 @@ def setup_motion_config(sender, **kwargs):
|
||||
yield ConfigVariable(
|
||||
name='motions_pdf_paragraph_numbering',
|
||||
default_value=False,
|
||||
input_type='boolean',
|
||||
label=ugettext_lazy('Show paragraph numbering (only in PDF)'),
|
||||
weight=380,
|
||||
group=ugettext_lazy('Motion'),
|
||||
|
Loading…
Reference in New Issue
Block a user