Commit 70cfbf50 authored by François Agneray's avatar François Agneray
Browse files

Update renderer list

parent df3ce24f
......@@ -35,32 +35,26 @@
class="img-fluid">
</button>
</div>
<div *ngSwitchCase="'ext-link'">
<div *ngSwitchCase="'link'">
<a [href]="getAttributeUriAction(attribute.name, datum[attribute.label])"
target="_blank">
{{ datum[attribute.name] }}</a>
</div>
<div *ngSwitchCase="'int-link'">
<a routerLink="/detail/{{ datasetName }}/{{ datum[attribute.label] }}">
{{ datum[attribute.label] }}
</a>
</div>
<div *ngSwitchCase="'ext-btn'">
<div *ngSwitchCase="'btn'">
<a [href]="getAttributeUriAction(attribute.name, datum[attribute.label])"
target="_blank" class="btn btn-outline-primary btn-sm">
{{ datum[attribute.label] }}</a>
</div>
<div *ngSwitchCase="'int-btn'">
<a routerLink="/detail/{{ datasetName }}/{{ datum[attribute.label] }}"
class="btn btn-outline-primary btn-sm">
<div *ngSwitchCase="'detail-link'">
<a routerLink="/detail/{{ datasetName }}/{{ datum[attribute.label] }}">
{{ datum[attribute.label] }}
</a>
</div>
<div *ngSwitchCase="'fancybox'">
<button class="btn btn-outline-primary btn-sm"
(click)="openModal('fancybox', attribute.name, datum[attribute.label])">
<div *ngSwitchCase="'detail-btn'">
<a routerLink="/detail/{{ datasetName }}/{{ datum[attribute.label] }}"
class="btn btn-outline-primary btn-sm">
{{ datum[attribute.label] }}
</button>
</a>
</div>
<div *ngSwitchCase="'download'">
<a [href]="getAttributeUriAction(attribute.name, datum[attribute.label])"
......
......@@ -14,16 +14,6 @@
<img [src]="data.srcImage" class="img-fluid">
</div>
</div>
<div *ngSwitchCase="'fancybox'">
<div class="modal-body">
<!-- <app-detail
[datasetName]="data.datasetName"
[objectSelected]="data.objectSelected"
[searchMeta]="data.searchMeta"
[searchData]="data.searchData">
</app-detail> -->
</div>
</div>
<div *ngSwitchCase="'json'">
<div class="modal-body">
<ngx-json-viewer [json]="data.json"></ngx-json-viewer>
......
......@@ -15,7 +15,7 @@
</div>
<div class="col-2 align-self-center text-center">
<button class="btn btn-sm btn-outline-primary" (click)="copyToClipboard()" title="Copy url to clipboard">
<i class="far fa-copy"></i>
COPY
</button>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment