diff --git a/src/frontend/app/indexation/indexation.component.html b/src/frontend/app/indexation/indexation.component.html index ba95c9e9c7362fa95d15291832ee2268ad1e8555..6e5a38a2f1a185ddd7d8418bff42e8152d11d64a 100644 --- a/src/frontend/app/indexation/indexation.component.html +++ b/src/frontend/app/indexation/indexation.component.html @@ -32,13 +32,13 @@ <div class="actions-indexing-form"> <ng-container *ngIf="actionsList.length > 0"> <button mat-button class="button-form-primary" [matMenuTriggerFor]="menu" - style="flex:1;margin-right:20px;"> + style="flex:1;margin-right:20px;" [title]="selectedAction.label"> <span class="menu-label" [innerHTML]="selectedAction.label"> </span> <i class="fa fa-chevron-down menu-icon"></i></button> <mat-menu #menu="matMenu" [class]="'menuForm'"> <ng-container *ngFor="let action of actionsList"> - <button mat-menu-item *ngIf="action.id !== selectedAction.id" (click)="selectAction(action)" + <button mat-menu-item *ngIf="action.id !== selectedAction.id" (click)="selectAction(action)" [title]="action.label" [innerHTML]="action.label"></button> </ng-container> </mat-menu> diff --git a/src/frontend/app/indexation/indexation.component.ts b/src/frontend/app/indexation/indexation.component.ts index 7fbbaf2e8e93e6bafcd3e769bf65b3397dd2fce2..5e3e56bc20a3e2ed4c6f3eb9cf60abdbaa36a21b 100644 --- a/src/frontend/app/indexation/indexation.component.ts +++ b/src/frontend/app/indexation/indexation.component.ts @@ -82,7 +82,7 @@ export class IndexationComponent implements OnInit { data.actions = data.actions.map((action: any, index: number) => { return { id : action.id, - label : index === 0 ? action.label_action + ' <b>(' + this.lang.default + ')</b>' : action.label_action, + label : action.label_action, component : action.component, default : index === 0 ? true : false }