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

FEAT #11279 TIME 0:10 add title

parent de75921f
No related branches found
No related tags found
No related merge requests found
...@@ -32,13 +32,13 @@ ...@@ -32,13 +32,13 @@
<div class="actions-indexing-form"> <div class="actions-indexing-form">
<ng-container *ngIf="actionsList.length > 0"> <ng-container *ngIf="actionsList.length > 0">
<button mat-button class="button-form-primary" [matMenuTriggerFor]="menu" <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 class="menu-label" [innerHTML]="selectedAction.label">
</span> </span>
<i class="fa fa-chevron-down menu-icon"></i></button> <i class="fa fa-chevron-down menu-icon"></i></button>
<mat-menu #menu="matMenu" [class]="'menuForm'"> <mat-menu #menu="matMenu" [class]="'menuForm'">
<ng-container *ngFor="let action of actionsList"> <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> [innerHTML]="action.label"></button>
</ng-container> </ng-container>
</mat-menu> </mat-menu>
......
...@@ -82,7 +82,7 @@ export class IndexationComponent implements OnInit { ...@@ -82,7 +82,7 @@ export class IndexationComponent implements OnInit {
data.actions = data.actions.map((action: any, index: number) => { data.actions = data.actions.map((action: any, index: number) => {
return { return {
id : action.id, id : action.id,
label : index === 0 ? action.label_action + '&nbsp;<b>(' + this.lang.default + ')</b>' : action.label_action, label : action.label_action,
component : action.component, component : action.component,
default : index === 0 ? true : false default : index === 0 ? true : false
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment