File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
99import { MatIconModule } from '@angular/material/icon' ;
1010import { MatInputModule } from '@angular/material/input' ;
1111import { MatMenuModule } from '@angular/material/menu' ;
12+ import { MatTooltipModule } from '@angular/material/tooltip' ;
1213import { OpenSlidesTranslationModule } from '@app/site/modules/translations' ;
1314import { CommaSeparatedListingComponent } from '@app/ui/modules/comma-separated-listing' ;
1415import { HeadBarModule } from '@app/ui/modules/head-bar' ;
@@ -40,6 +41,7 @@ import { CommentSectionSortComponent } from './components/comment-section-sort/c
4041 MatFormFieldModule ,
4142 MatDialogModule ,
4243 MatInputModule ,
44+ MatTooltipModule ,
4345 MatCheckboxModule ,
4446 ReactiveFormsModule
4547 ]
Original file line number Diff line number Diff line change @@ -29,7 +29,11 @@ <h1 class="mock-h2" translate>Comment fields</h1>
2929 {{ section.name }}
3030 </ div >
3131 < div class ="read ">
32- < os-icon-container icon ="visibility ">
32+ < os-icon-container
33+ icon ="visibility "
34+ matTooltipPosition ="left "
35+ [matTooltip] ="'Can read' | translate "
36+ >
3337 @if (section.read_groups?.length) {
3438 < ng-container
3539 *ngTemplateOutlet ="groupList; context: { groups: section.read_groups } "
@@ -41,7 +45,11 @@ <h1 class="mock-h2" translate>Comment fields</h1>
4145 </ os-icon-container >
4246 </ div >
4347 < div class ="write ">
44- < os-icon-container icon ="edit ">
48+ < os-icon-container
49+ icon ="edit "
50+ matTooltipPosition ="left "
51+ [matTooltip] ="'Can write' | translate "
52+ >
4553 @if (section.write_groups?.length) {
4654 < ng-container
4755 *ngTemplateOutlet ="groupList; context: { groups: section.write_groups } "
@@ -86,10 +94,10 @@ <h3>{{ 'Groups with write permissions' | translate }}</h3>
8694 }
8795 < mat-action-row >
8896 < button mat-icon-button (click) ="openDialog(section) ">
89- < mat-icon > edit</ mat-icon >
97+ < mat-icon [matTooltip] =" 'Edit' | translate " > edit</ mat-icon >
9098 </ button >
9199 < button mat-icon-button (click) ="onDeleteButton(section) ">
92- < mat-icon > delete</ mat-icon >
100+ < mat-icon [matTooltip] =" 'Delete' | translate " > delete</ mat-icon >
93101 </ button >
94102 </ mat-action-row >
95103 </ mat-expansion-panel >
You can’t perform that action at this time.
0 commit comments