Merge pull request #6276 from GabrielInTheWorld/motion-block-and-list-width

Makes the motion block detail and motion list more user friendly
This commit is contained in:
Emanuel Schütze 2021-11-13 14:48:31 +01:00 committed by GitHub
commit adb9d95ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View File

@ -61,15 +61,18 @@ export class UserStatisticsComponent extends BaseViewComponentDirective {
public readonly columnDefinition: PblColumnDefinition[] = [ public readonly columnDefinition: PblColumnDefinition[] = [
{ {
prop: 'structureLevel', prop: 'structureLevel',
label: 'Structure level' label: 'Structure level',
width: '100%'
}, },
{ {
prop: 'durationOfWordRequests', prop: 'durationOfWordRequests',
label: this.translate.instant('Duration of requests to speak') label: this.translate.instant('Duration of requests to speak'),
maxWidth: 100
}, },
{ {
prop: 'numberOfWordRequests', prop: 'numberOfWordRequests',
label: this.translate.instant('Number of requests to speak') label: this.translate.instant('Number of requests to speak'),
maxWidth: 60
} }
]; ];

View File

@ -60,7 +60,7 @@ export class MotionBlockDetailComponent extends BaseListViewComponent<ViewMotion
{ {
prop: 'recommendation', prop: 'recommendation',
label: this.translate.instant('Recommendation'), label: this.translate.instant('Recommendation'),
minWidth: 60 minWidth: 240
}, },
{ {
prop: 'remove', prop: 'remove',

View File

@ -129,7 +129,7 @@ export class MotionListComponent extends BaseListViewComponent<ViewMotion> imple
}, },
{ {
prop: 'state', prop: 'state',
minWidth: 160 minWidth: 240
} }
]; ];

View File

@ -146,7 +146,7 @@ export class UserListComponent extends BaseListViewComponent<ViewUser> implement
}, },
{ {
prop: 'group', prop: 'group',
minWidth: 200 minWidth: 240
}, },
{ {
prop: 'infos', prop: 'infos',