- rename of the folder for the dataset-detail.component

This commit is contained in:
kaimbacher 2022-01-14 16:49:31 +01:00
parent eb8803d7a8
commit 3b44926ce1
6 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import HelloWorld from "./components/HelloWorld/HelloWorld.vue";
import HomeViewComponent from "./views/home-view/home-view-component.vue";
import HelpViewComponent from "./views/map-view/help-view-component.vue";
import SearchViewComponent from "./views/search-view/search-view-component.vue";
import DatasetDetailComponent from "./views/dataset-detail.component.ts/dataset-detail.component.vue";
import DatasetDetailComponent from "./views/dataset-detail.component/dataset-detail.component.vue";
import ServiceViewComponent from "./views/services-view/service-view-component.vue";
import OaiViewComponent from "./views/oai-view/oai-view-component.vue";
import ContactViewComponent from "./views/contact-view/contact-view-component.vue";

View File

@ -5,7 +5,7 @@ import HelloWorld from "./components/HelloWorld/HelloWorld.vue";
import HomeViewComponent from "./views/home-view/home-view-component.vue";
import HelpViewComponent from "./views/map-view/help-view-component.vue";
import SearchViewComponent from "./views/search-view/search-view-component.vue";
import DatasetDetailComponent from "./views/dataset-detail.component.ts/dataset-detail.component.vue";
import DatasetDetailComponent from "./views/dataset-detail.component/dataset-detail.component.vue";
import ServiceViewComponent from "./views/services-view/service-view-component.vue";
import OaiViewComponent from "./views/oai-view/oai-view-component.vue";
import ContactViewComponent from "./views/contact-view/contact-view-component.vue";

View File

@ -8,7 +8,7 @@ import ContactViewComponent from "@/views/contact-view/contact-view-component.vu
import SitelinkViewComponent from "@/views/sitelink-view/sitelink-view-component.vue";
import ImprintViewComponent from "@/views/imprint-view/imprint-view-component.vue";
import TermsViewComponent from "@/views/terms-view/terms-view-component.vue";
import DatasetDetailComponent from "@/views/dataset-detail.component.ts/dataset-detail.component.vue";
import DatasetDetailComponent from "@/views/dataset-detail.component/dataset-detail.component.vue";
const routes = [
{

View File

@ -1,7 +1,7 @@
// import Vue from 'vue';
// import Router from 'vue-router';
import { createWebHistory, createRouter } from "vue-router";
import DatasetDetailComponent from "@/views/dataset-detail.component.ts/dataset-detail.component";
import DatasetDetailComponent from "@/views/dataset-detail.component/dataset-detail.component";
// Vue.use(Router);

View File

@ -47,11 +47,11 @@ export default class DatasetDetailComponent extends Vue {
let term;
if (typeof suggestion === "string") {
term = suggestion;
window.open("https://tethys.at/search/" + term);
window.open("https://tethys.at/search/" + term, "_self");
} else if (suggestion instanceof Suggestion) {
term = suggestion.value;
const type = suggestion.type;
window.open("https://tethys.at/search/" + term + "/" + type);
window.open("https://tethys.at/search/" + term + "/" + type, "_self");
}
} else {
let term;

View File

@ -56,7 +56,7 @@
<div class="column">
<label class="label">
{{ getCitation() }}
<a v-if="dataset.identifier" class="link-label" v-bind:href="'https://doi.org/' + dataset.identifier.value"
<a v-if="dataset.identifier" target="_blank" class="link-label" v-bind:href="'https://doi.org/' + dataset.identifier.value"
>({{ "https://doi.org/" + dataset.identifier.value }})</a
>
</label>