Skip to content

Commit 04b0cc6

Browse files
committed
Open links in new tabs
1 parent ea3ba5e commit 04b0cc6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

node-browser/src/app/browse/browse.component.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@
2121
<a
2222
*ngIf="outbound_info.predicate_label"
2323
class="pred-link"
24+
target="_blank"
2425
href="{{ outbound_info.predicate_kwg_link }}"
2526
>{{ outbound_info.predicate_label }}</a
2627
>
2728
<a
2829
*ngIf="!outbound_info.predicate_label"
2930
class="pred-link"
31+
target="_blank"
3032
href="{{ outbound_info.predicate_kwg_link }}"
3133
>{{ outbound_info.predicate_name }}</a
3234
>
3335
<a href="{{ outbound_info.predicate_link }}"
36+
target="_blank"
3437
><mat-icon [inline]="true" class="browse-open-icon table"
3538
>open_in_new</mat-icon
3639
></a
@@ -48,10 +51,11 @@
4851
}}</span></span
4952
>
5053
<span *ngIf="!outbound_relation.isPredicate"
51-
><a class="obj-link" href="{{ outbound_relation.localURI }}">{{
54+
><a class="obj-link" target="_blank" href="{{ outbound_relation.localURI }}">{{
5255
outbound_relation.name
5356
}}</a
5457
><a href="{{ outbound_relation.link }}"
58+
target="_blank"
5559
><mat-icon [inline]="true" class="browse-open-icon table"
5660
>open_in_new</mat-icon
5761
></a

0 commit comments

Comments
 (0)