@switch (state()) {
@case ('loading') {
{{ texts.loading }}
}
@case ('error') {
{{ texts.error }}
}
@case ('ready') {
@if (incoming().length > 0) {
{{ incoming().length }}
{{ texts.incomingHeader }}
@for (link of incoming(); track link.source + '|' + link.target + '|' + link.kind + '|' + (link.trigger?.normalizedTrigger ?? '')) {
-
{{ confidenceValue(link.confidence) }}
{{ link.kind }}
}
}
@if (outgoing().length > 0) {
{{ outgoing().length }}
{{ texts.outgoingHeader }}
@for (link of outgoing(); track link.source + '|' + link.target + '|' + link.kind + '|' + (link.trigger?.normalizedTrigger ?? '')) {
-
@if (outgoingBroken(link)) {
{{ link.target }}
} @else {
}
{{ confidenceValue(link.confidence) }}
{{ link.kind }}
@if (issueForOutgoing(link); as issue) {
{{ issue.analyzerId }}
}
}
}
@if (externalRefs().length > 0) {
{{ externalRefs().length }}
{{ texts.externalRefsHeader }}
@for (ref of externalRefs(); track ref.url + '|' + (ref.line ?? -1)) {
-
{{ ref.url }}
}
}
}
}
}