Merge pull request #5888 from tsiegleauq/some-iOS-for-fixes
Fix paragraph based amendments in iOS
This commit is contained in:
commit
7af39a5570
@ -537,9 +537,7 @@
|
|||||||
type="button"
|
type="button"
|
||||||
mat-button
|
mat-button
|
||||||
[matMenuTriggerFor]="changeRecoMenu"
|
[matMenuTriggerFor]="changeRecoMenu"
|
||||||
*ngIf="
|
*ngIf="motion && (hasChangingObjects() || motion.modified_final_version)"
|
||||||
motion && (hasChangingObjects() || motion.modified_final_version)
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<mat-icon>rate_review</mat-icon>
|
<mat-icon>rate_review</mat-icon>
|
||||||
<span>{{ verboseChangeRecoMode[crMode] | translate }}</span>
|
<span>{{ verboseChangeRecoMode[crMode] | translate }}</span>
|
||||||
@ -670,7 +668,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Text (hide preamble, if diff mode. The preample is included in the motion-detail-diff component) -->
|
<!-- Text (hide preamble, if diff mode. The preample is included in the motion-detail-diff component) -->
|
||||||
<span *ngIf="showPreamble && !isRecoMode(ChangeRecoMode.Diff)" class="text-prefix-label">{{ preamble | translate }}</span>
|
<span *ngIf="showPreamble && !isRecoMode(ChangeRecoMode.Diff)" class="text-prefix-label">{{
|
||||||
|
preamble | translate
|
||||||
|
}}</span>
|
||||||
|
|
||||||
<!-- Regular motions or traditional amendments -->
|
<!-- Regular motions or traditional amendments -->
|
||||||
<ng-container *ngIf="!editMotion && !motion.isStatuteAmendment() && !motion.isParagraphBasedAmendment()">
|
<ng-container *ngIf="!editMotion && !motion.isStatuteAmendment() && !motion.isParagraphBasedAmendment()">
|
||||||
@ -902,7 +902,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ng-container *ngIf="motion.parent && !isRecoMode(ChangeRecoMode.Diff) && !isFinalEdit">
|
<ng-container *ngIf="motion.parent && !isRecoMode(ChangeRecoMode.Diff) && !isFinalEdit">
|
||||||
<div
|
<div
|
||||||
*ngFor="let paragraph of getAmendmentParagraphs()"
|
*ngFor="let paragraph of getAmendmentParagraphs(); trackBy: trackByIndex"
|
||||||
class="motion-text motion-text-diff amendment-view"
|
class="motion-text motion-text-diff amendment-view"
|
||||||
[class.line-numbers-none]="isLineNumberingNone()"
|
[class.line-numbers-none]="isLineNumberingNone()"
|
||||||
[class.line-numbers-inline]="isLineNumberingInline()"
|
[class.line-numbers-inline]="isLineNumberingInline()"
|
||||||
|
Loading…
Reference in New Issue
Block a user