2019-10-03 16:54:05 +00:00
|
|
|
<template>
|
|
|
|
<!-- <div class="card-columns" >
|
|
|
|
<div class="card" v-for="item in results" :key="item.id">
|
|
|
|
<img v-if="item.thumb" class="card-img-top" :src="item.thumb" :alt="item.title" @error="error(item)">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">{{item.name}}</h5>
|
|
|
|
<p class="card-text" v-html="truncate(item.description || item.abstract, 50)"></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>-->
|
|
|
|
<div class="results">
|
|
|
|
|
2019-10-18 15:05:56 +00:00
|
|
|
<!-- <div class="result-list-info">
|
2019-10-03 16:54:05 +00:00
|
|
|
<div class="resultheader">
|
|
|
|
Your search yielded
|
|
|
|
<strong>{{ results.length }}</strong> results:
|
|
|
|
</div>
|
2019-10-18 15:05:56 +00:00
|
|
|
</div> -->
|
2019-10-03 16:54:05 +00:00
|
|
|
|
2020-04-17 15:55:18 +00:00
|
|
|
<section class="normal result-list-container">
|
|
|
|
|
|
|
|
<div v-for="document in results" :key="document.id" class="row record-elem">
|
|
|
|
<div class="twelve columns post">
|
|
|
|
|
2021-05-31 07:49:49 +00:00
|
|
|
|
|
|
|
<span class="label label-info" data-container="div" data-title="Publication date">
|
|
|
|
{{ convert(document.server_date_published) }}
|
|
|
|
</span>
|
|
|
|
<span class="label label-default ng-binding">{{ document.doctype }}</span>
|
|
|
|
<span v-if="openAccessLicences.includes(document.licence)" class="label label-success titlecase">Open Access</span>
|
|
|
|
|
|
|
|
|
2021-06-01 15:32:19 +00:00
|
|
|
<p v-if="document.identifier && document.identifier.length > 0">
|
2021-05-31 07:49:49 +00:00
|
|
|
<!-- <span>Author: {{ document.identifier.join(', ') }}</span> -->
|
|
|
|
<!-- <span v-for="(author,index) in document.author" :key="index">{{ author }}; </span> -->
|
|
|
|
<!-- <span>'https://doi.org/' + {{ document.identifier[0] }}</span> -->
|
2021-06-02 09:48:25 +00:00
|
|
|
<a target="_blank" v-bind:href="'https://doi.org/' + document.identifier[0]">
|
2021-05-31 07:49:49 +00:00
|
|
|
{{ 'https://doi.org/' + document.identifier[0] }}
|
|
|
|
</a>
|
2021-06-01 15:32:19 +00:00
|
|
|
</p>
|
2020-04-17 15:55:18 +00:00
|
|
|
|
|
|
|
<h4>
|
2021-06-02 08:17:13 +00:00
|
|
|
<a v-if="document.identifier && document.identifier.length > 0" target="_self" v-bind:href="'https://doi.'+ getDomainWithoutSubdomain() +'/' + document.identifier[0]" class="ng-binding">
|
2020-04-17 15:55:18 +00:00
|
|
|
{{ document.title_output }}
|
|
|
|
</a>
|
2021-06-02 09:19:27 +00:00
|
|
|
<a v-else target="_self" v-bind:href="'dataset/' + document.id" class="ng-binding">
|
|
|
|
{{ document.title_output }}
|
|
|
|
</a>
|
2020-04-17 15:55:18 +00:00
|
|
|
</h4>
|
|
|
|
|
2020-04-20 21:29:10 +00:00
|
|
|
|
|
|
|
<p v-if="document.author && document.author.length > 0">
|
2020-04-17 15:55:18 +00:00
|
|
|
<!-- <span>Author: {{ document.author.join(', ') }}</span> -->
|
2020-04-20 21:29:10 +00:00
|
|
|
<span v-for="(author,index) in document.author" :key="index">{{ author }}; </span>
|
|
|
|
</p>
|
2019-10-03 16:54:05 +00:00
|
|
|
|
|
|
|
|
2020-04-17 15:55:18 +00:00
|
|
|
<!-- <p v-if="document.title_additional && document.title_additional.length > 0">
|
|
|
|
<span>Additional Title:{{ document.title_additional.join(', ') }}</span>
|
|
|
|
</p> -->
|
2019-10-03 16:54:05 +00:00
|
|
|
|
|
|
|
<p class="clamped clamped-2">
|
|
|
|
<span class="text">
|
|
|
|
Abstract: {{ document.abstract_output }}
|
|
|
|
<span class="ellipsis">...</span>
|
|
|
|
<span class="fill"></span>
|
|
|
|
</span>
|
|
|
|
</p>
|
2020-04-17 15:55:18 +00:00
|
|
|
|
2020-05-20 13:54:10 +00:00
|
|
|
<p>
|
|
|
|
<span>Licence: {{ document.licence }}</span>
|
|
|
|
</p>
|
|
|
|
|
2020-04-17 15:55:18 +00:00
|
|
|
<!-- <div class="css-subject" v-if="document.subject && document.subject.length > 0"> -->
|
2020-04-24 13:37:24 +00:00
|
|
|
<span class="label label-keyword titlecase" v-for="(item, index) in document.subject" :key="index">
|
2020-04-17 15:55:18 +00:00
|
|
|
#{{ item }}
|
|
|
|
</span>
|
2020-05-20 13:54:10 +00:00
|
|
|
|
2020-04-17 15:55:18 +00:00
|
|
|
<!-- <p>
|
|
|
|
<small class="text-muted hidden-xs ng-binding">
|
|
|
|
Uploaded on March 15, 2019
|
|
|
|
</small>
|
|
|
|
</p> -->
|
|
|
|
|
|
|
|
</div>
|
2019-10-03 16:54:05 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2020-04-17 15:55:18 +00:00
|
|
|
import VgResults from "./vs-results-class";
|
|
|
|
export default VgResults;
|
|
|
|
</script>
|