Skip to content
Snippets Groups Projects
Verified Commit 8193e707 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #9906 fix note template list title

parent d51fa68a
No related branches found
No related tags found
No related merge requests found
<mat-form-field appearance="outline">
<mat-form-field appearance="outline" class="noteEditorContent">
<textarea matInput placeholder="{{lang.addNote}}" [(ngModel)]="content"></textarea>
<button *ngIf="addMode" matSuffix mat-icon-button title="{{lang.send}}" (click)="addNote()" [disabled]="content.trim() == ''">
<button *ngIf="addMode" matSuffix mat-icon-button title="{{lang.send}}" (click)="addNote()"
[disabled]="content.trim() == ''">
<mat-icon fontSet="far" fontIcon="fa-paper-plane fa-2x" style="color: #666;"></mat-icon>
</button>
<button matSuffix color="primary" mat-icon-button title="{{lang.noteTemplates}}" [matMenuTriggerFor]="menu" (click)="getTemplatesNote()">
<button matSuffix color="primary" mat-icon-button title="{{lang.noteTemplates}}" [matMenuTriggerFor]="menu"
(click)="getTemplatesNote()">
<mat-icon fontSet="fas" fontIcon="fa-file-alt fa-2x"></mat-icon>
</button>
<mat-menu #menu="matMenu">
<div style="text-align: center;font-size: 10px;opacity: 0.5;margin-top:-15px;">
<mat-menu #menu="matMenu" [class]="'templateNoteListMenu'">
<div
style="text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;">
{{lang.noteTemplates}}
</div>
<button mat-menu-item *ngFor="let template of templatesNote" matTooltip="{{template.template_content}}" matTooltipPosition="left" (click)="selectTemplate(template)">
<button mat-menu-item *ngFor="let template of templatesNote" matTooltip="{{template.template_content}}"
matTooltipPosition="left" (click)="selectTemplate(template)">
<span>{{template.template_label}}</span>
</button>
</mat-menu>
......
.mat-icon-button:disabled {
opacity: 0.5;
.noteEditorContent {
.mat-icon-button:disabled {
opacity: 0.5;
}
}
::ng-deep.templateNoteListMenu {
.mat-menu-content {
padding-top: 0;
padding-bottom: 0;
}
}
::ng-deep.mat-tooltip {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment