Minor layout improvements
- Improved motion block slide layout - Increase width of statute paragraph title form field - hide identifier in motion form for unprivileged users/submitters
This commit is contained in:
parent
63a2c6b05b
commit
e54d0cf087
@ -557,7 +557,7 @@
|
|||||||
|
|
||||||
<div class="form-id-title">
|
<div class="form-id-title">
|
||||||
<!-- Identifier -->
|
<!-- Identifier -->
|
||||||
<div *ngIf="editMotion && !newMotion" class="content-field form-identifier">
|
<div *ngIf="editMotion && !newMotion && perms.isAllowed('change_metadata', motion)" class="content-field form-identifier">
|
||||||
<mat-form-field *ngIf="editMotion">
|
<mat-form-field *ngIf="editMotion">
|
||||||
<input
|
<input
|
||||||
matInput
|
matInput
|
||||||
|
@ -9,4 +9,8 @@
|
|||||||
|
|
||||||
mat-card {
|
mat-card {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
|
mat-form-field {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,12 +4,12 @@
|
|||||||
<h2><span translate>Motion block</span> – {{ data.data.motions.length }} <span translate>motions</span></h2>
|
<h2><span translate>Motion block</span> – {{ data.data.motions.length }} <span translate>motions</span></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngFor="let motion of data.data.motions">
|
<div *ngFor="let motion of data.data.motions" class="blockitem">
|
||||||
<div class="ellipsis-overflow">
|
<div class="ellipsis-overflow">
|
||||||
{{ getMotionTitle(motion) }}
|
{{ getMotionTitle(motion) }}
|
||||||
</div>
|
</div>
|
||||||
<div class="white ellipsis-overflow">
|
<div class="white ellipsis-overflow">
|
||||||
<mat-basic-chip *ngIf="motion.recommendation" disableRipple [ngClass]="getStateCssColor(motion)">
|
<mat-basic-chip *ngIf="motion.recommendation" disableRipple [ngClass]="getStateCssColor(motion)" class="block-recommendation">
|
||||||
{{ getRecommendationLabel(motion) }}
|
{{ getRecommendationLabel(motion) }}
|
||||||
</mat-basic-chip>
|
</mat-basic-chip>
|
||||||
</div>
|
</div>
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
.blockitem {
|
||||||
|
line-height: 1;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user