- link to doi.tethys subdomain in search results

This commit is contained in:
Arno Kaimbacher 2021-06-02 10:17:13 +02:00
parent b6338b0543
commit 8d8fafd3db
3 changed files with 11 additions and 2 deletions

View file

@ -40,7 +40,7 @@
</p>
<h4>
<a target="_self" v-bind:href="'https://doi.'+ app_url +'/' + datacite_prefix + '/tethys.' + document.id" class="ng-binding">
<a v-if="document.identifier && document.identifier.length > 0" target="_self" v-bind:href="'https://doi.'+ getDomainWithoutSubdomain() +'/' + document.identifier[0]" class="ng-binding">
{{ document.title_output }}
</a>
</h4>