Fixes
- fix filter and wording for new personal notes tile - break long words in comment and personal note boxes - remove h4 headings for comment and personal note boxes
This commit is contained in:
parent
4988b758ba
commit
8e38fbbccf
@ -29,5 +29,6 @@
|
||||
|
||||
mat-card-content {
|
||||
padding: 15px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
</ng-container>
|
||||
<form [formGroup]="commentForms[section.id]" *ngIf="isCommentEdited(section)">
|
||||
<!-- The HTML Editor -->
|
||||
<h4 translate>Comment</h4>
|
||||
<editor formControlName="comment" [init]="tinyMceSettings"></editor>
|
||||
</form>
|
||||
</ng-container>
|
||||
|
@ -40,7 +40,6 @@
|
||||
</ng-container>
|
||||
<form [formGroup]="personalNoteForm" *ngIf="isEditMode">
|
||||
<!-- The HTML Editor -->
|
||||
<h4 translate>Personal note</h4>
|
||||
<editor formControlName="note" [init]="tinyMceSettings"></editor>
|
||||
</form>
|
||||
</ng-container>
|
||||
|
@ -192,7 +192,7 @@
|
||||
>
|
||||
<span *ngSwitchCase="'Favorites'"><mat-icon>star</mat-icon></span>
|
||||
<span *ngSwitchCase="'No category'"><mat-icon>block</mat-icon></span>
|
||||
<span *ngSwitchCase="'Personal Note'"><mat-icon>speaker_notes</mat-icon></span>
|
||||
<span *ngSwitchCase="'Personal notes'"><mat-icon>speaker_notes</mat-icon></span>
|
||||
<span *ngSwitchDefault>
|
||||
<span *ngIf="tile.prefix">
|
||||
{{ tile.prefix }}
|
||||
|
@ -311,7 +311,7 @@ export class MotionListComponent extends BaseListViewComponent<ViewMotion> imple
|
||||
}
|
||||
|
||||
this.addToTileInfo('Favorites', 'star', true, favoriteMotions);
|
||||
this.addToTileInfo('Personal Note', 'hasNote', true, motionsWithNotes);
|
||||
this.addToTileInfo('Personal notes', 'hasNotes', true, motionsWithNotes);
|
||||
this.addToTileInfo('No category', 'category', null, motionsWithoutCategory);
|
||||
|
||||
this.createCategoryTiles(Array.from(localCategories));
|
||||
|
@ -27,7 +27,7 @@ import { ViewMotion } from '../models/view-motion';
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class MotionMultiselectService {
|
||||
private messageForSpinner = 'Motions are in process. Please wait...';
|
||||
private messageForSpinner = this.translate.instant('Motions are in process. Please wait...');
|
||||
|
||||
/**
|
||||
* Does nothing.
|
||||
|
Loading…
Reference in New Issue
Block a user