Merge branch 'RED-9840' into 'master'

RED-9840: Allow to open global search results in a new browser tab

Closes RED-9840

See merge request redactmanager/red-ui!579
This commit is contained in:
Valentin-Gabriel Mihai 2024-09-23 14:53:11 +02:00
commit cbedb8370b
2 changed files with 62 additions and 55 deletions

View File

@ -1,4 +1,5 @@
<div class="cell filename">
<a [routerLink]="item.routerLink" class="item-link">
<div class="cell filename">
<div [matTooltip]="item.filename" class="table-item-title heading" matTooltipPosition="above">
<span
*ngIf="item.highlights.filename; else defaultFilename"
@ -27,36 +28,37 @@
>
</span>
</div>
</div>
</div>
<div class="cell">
<div class="cell">
<iqser-initials-avatar [user]="item.assignee" [withName]="true"></iqser-initials-avatar>
</div>
</div>
<div class="cell">
<div class="cell">
<iqser-status-bar
[configs]="[
{
color: item.status,
label: fileStatusTranslations[item.status] | translate,
length: 1,
cssClass: 'all-caps-label'
}
cssClass: 'all-caps-label',
},
]"
[small]="true"
></iqser-status-bar>
</div>
</div>
<div class="cell small-label full-opacity stats-subtitle">
<div class="cell small-label full-opacity stats-subtitle">
<div>
<mat-icon *ngIf="item.archived" svgIcon="red:archive"></mat-icon>
<a [routerLink]="routerLink" iqserStopPropagation> {{ item.dossierName }}</a>
</div>
</div>
</div>
<div class="cell small-label stats-subtitle">
<div class="cell small-label stats-subtitle">
<div>
<mat-icon svgIcon="iqser:pages"></mat-icon>
{{ item.numberOfPages }}
</div>
</div>
</div>
</a>

View File

@ -7,3 +7,8 @@
background-color: var(--iqser-highlight-color);
}
}
a.item-link {
display: contents;
@include common-mixins.clear-a;
}