-
Notifications
You must be signed in to change notification settings - Fork 6
/
ontology-class-item.component.html
24 lines (24 loc) · 1.14 KB
/
ontology-class-item.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="class-item-container">
<div class="content" [routerLinkActive]="['is-active']" (click)="selectItem()">
<div class="box link" [routerLink]="link">
<div class="label" matTooltip="{{resClass.label}}" matTooltipShowDelay="750" [matTooltipPosition]="'above'"
[matTooltipDisabled]="resClass.label.length < MAX_LABEL_CHAR">{{trimLabel(resClass.label)}}</div>
<div class="entry-container">
<mat-icon>{{icon}}</mat-icon>
<ngx-skeleton-loader
*ngIf="results === undefined"
count="1"
appearance="line"
[theme]="{
'margin-bottom': 0,
'vertical-align': 'middle'
}">
</ngx-skeleton-loader>
<div *ngIf="results !== undefined" class="entry">{{results | i18nPlural: itemPluralMapping['entry']}}</div>
</div>
</div>
<div class="icon link" *ngIf="projectMember" [routerLink]="link + '/add'">
<mat-icon>add_circle_outline</mat-icon>
</div>
</div>
</div>