minor fixes

This commit is contained in:
Diamantis Tziotzios 2024-04-16 16:57:20 +03:00
parent 0fa4c58363
commit b7774759f6
3 changed files with 6 additions and 6 deletions

View File

@ -7,15 +7,15 @@ import { Subscription } from "rxjs";
selector: 'rich-text-editor-component', selector: 'rich-text-editor-component',
template: ` template: `
<div class="editor-wrapper" [class]="wrapperClasses"> <div class="editor-wrapper" [class]="wrapperClasses">
<!-- <angular-editor class="full-width editor" [ngClass]="editable ? '': 'disabled'" [id]="id" <angular-editor class="full-width editor" [ngClass]="editable ? '': 'disabled'" [id]="id"
[config]="editorConfig" [formControl]="form" [config]="editorConfig" [formControl]="form"
placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}" placeholder="{{(placeholder? (placeholder | translate) : '') + (required ? ' *': '')}}"
(paste)="pasteWithoutFormatting($event)"></angular-editor> (paste)="pasteWithoutFormatting($event)"></angular-editor>
<mat-icon *ngIf="form.value && editable" (click)="parentFormGroup.get(controlName).patchValue('')" class="clear">close</mat-icon> --> <mat-icon *ngIf="form.value && editable" (click)="parentFormGroup.get(controlName).patchValue('')" class="clear">close</mat-icon>
<mat-form-field class="full-width editor"> <!-- <mat-form-field class="full-width editor">
<mat-label>{{(placeholder? (placeholder | translate) : '')}}</mat-label> <mat-label>{{(placeholder? (placeholder | translate) : '')}}</mat-label>
<textarea matInput [formControl]="form" rows="5"></textarea> <textarea matInput [formControl]="form" rows="5"></textarea>
</mat-form-field> </mat-form-field> -->
</div> </div>
`, `,
styleUrls: ['./rich-text-editor.component.scss'], styleUrls: ['./rich-text-editor.component.scss'],

View File

@ -3,7 +3,7 @@
<mat-expansion-panel class="row expansion-panel toc-section-header" [id]="path" [(expanded)]="panelExpanded"> <mat-expansion-panel class="row expansion-panel toc-section-header" [id]="path" [(expanded)]="panelExpanded">
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<h6 class='panel-title' *ngIf="section?.sections?.length >= 0">{{path}}.section {{section.title}}</h6> <h6 class='panel-title' *ngIf="section?.sections?.length > 0">{{path}}.section {{section.title}}</h6>
<h6 class='panel-title' *ngIf="section?.fieldSets?.length > 0">{{path}} {{section.title}}</h6> <h6 class='panel-title' *ngIf="section?.fieldSets?.length > 0">{{path}} {{section.title}}</h6>
</mat-panel-title> </mat-panel-title>
</mat-expansion-panel-header> </mat-expansion-panel-header>

View File

@ -1559,7 +1559,7 @@
}, },
"REFERENCE-FIELD-COMPONENT": { "REFERENCE-FIELD-COMPONENT": {
"EXTERNAL-SOURCE": "Source", "EXTERNAL-SOURCE": "Source",
"INTERNAL-SOURCE": "Not bind with source" "INTERNAL-SOURCE": "Internal"
}, },
"TENANT-CHOOSE-DIALOG": { "TENANT-CHOOSE-DIALOG": {
"TITLE": "Please select your Tenant", "TITLE": "Please select your Tenant",