Added agendaSupplement for agenda item title.
Added padding-left for child item cells.
This commit is contained in:
parent
76dc29cddf
commit
4125efbfe6
@ -52,11 +52,11 @@ angular.module('OpenSlidesApp.agenda', ['OpenSlidesApp.users'])
|
|||||||
// in the DS store.
|
// in the DS store.
|
||||||
title = this.title;
|
title = this.title;
|
||||||
}
|
}
|
||||||
if (this.getContentResource().verboseName) {
|
if (this.getContentResource().agendaSupplement) {
|
||||||
title = gettextCatalog.getString(this.getContentResource().verboseName) + ' ' + title;
|
title = gettextCatalog.getString(this.getContentResource().agendaSupplement) + ' ' + title;
|
||||||
}
|
}
|
||||||
if (this.item_number) {
|
if (this.item_number) {
|
||||||
title = this.item_number + ' ' + title;
|
title = this.item_number + ' · ' + title;
|
||||||
}
|
}
|
||||||
return title;
|
return title;
|
||||||
},
|
},
|
||||||
|
@ -131,8 +131,8 @@
|
|||||||
<td ng-show="isDeleteMode" os-perms="agenda.can_manage" class="deleteColumn">
|
<td ng-show="isDeleteMode" os-perms="agenda.can_manage" class="deleteColumn">
|
||||||
<input type="checkbox" ng-model="item.selected">
|
<input type="checkbox" ng-model="item.selected">
|
||||||
<!-- agenda data columns -->
|
<!-- agenda data columns -->
|
||||||
<td ng-if="!item.quickEdit" ng-mouseover="item.hover=true" ng-mouseleave="item.hover=false">
|
<td ng-if="!item.quickEdit" ng-mouseover="item.hover=true" ng-mouseleave="item.hover=false"
|
||||||
<span ng-repeat="n in [].constructor(item.parentCount) track by $index">–</span>
|
style="padding-left: calc(8px + {{ item.parentCount }}*15px)">
|
||||||
<strong>
|
<strong>
|
||||||
<a href="" ng-click="open(item)">
|
<a href="" ng-click="open(item)">
|
||||||
{{ item.getTitle() }}
|
{{ item.getTitle() }}
|
||||||
|
@ -80,6 +80,7 @@ angular.module('OpenSlidesApp.assignments', [])
|
|||||||
name: name,
|
name: name,
|
||||||
useClass: jsDataModel,
|
useClass: jsDataModel,
|
||||||
verboseName: gettext('Election'),
|
verboseName: gettext('Election'),
|
||||||
|
agendaSupplement: gettext('Election'),
|
||||||
phases: phases,
|
phases: phases,
|
||||||
getPhases: function () {
|
getPhases: function () {
|
||||||
if (!this.phases) {
|
if (!this.phases) {
|
||||||
|
@ -169,6 +169,7 @@ angular.module('OpenSlidesApp.motions', ['OpenSlidesApp.users'])
|
|||||||
name: name,
|
name: name,
|
||||||
useClass: jsDataModel,
|
useClass: jsDataModel,
|
||||||
verboseName: gettext('Motion'),
|
verboseName: gettext('Motion'),
|
||||||
|
agendaSupplement: gettext('Motion'),
|
||||||
methods: {
|
methods: {
|
||||||
getResourceName: function () {
|
getResourceName: function () {
|
||||||
return name;
|
return name;
|
||||||
|
Loading…
Reference in New Issue
Block a user