- 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 HomeViewComponent from "./views/home-view/home-view-component.vue";
import HelpViewComponent from "./views/map-view/help-view-component.vue"; import HelpViewComponent from "./views/map-view/help-view-component.vue";
import SearchViewComponent from "./views/search-view/search-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 ServiceViewComponent from "./views/services-view/service-view-component.vue";
import OaiViewComponent from "./views/oai-view/oai-view-component.vue"; import OaiViewComponent from "./views/oai-view/oai-view-component.vue";
import ContactViewComponent from "./views/contact-view/contact-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 HomeViewComponent from "./views/home-view/home-view-component.vue";
import HelpViewComponent from "./views/map-view/help-view-component.vue"; import HelpViewComponent from "./views/map-view/help-view-component.vue";
import SearchViewComponent from "./views/search-view/search-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 ServiceViewComponent from "./views/services-view/service-view-component.vue";
import OaiViewComponent from "./views/oai-view/oai-view-component.vue"; import OaiViewComponent from "./views/oai-view/oai-view-component.vue";
import ContactViewComponent from "./views/contact-view/contact-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 SitelinkViewComponent from "@/views/sitelink-view/sitelink-view-component.vue";
import ImprintViewComponent from "@/views/imprint-view/imprint-view-component.vue"; import ImprintViewComponent from "@/views/imprint-view/imprint-view-component.vue";
import TermsViewComponent from "@/views/terms-view/terms-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 = [ const routes = [
{ {

View File

@ -1,7 +1,7 @@
// import Vue from 'vue'; // import Vue from 'vue';
// import Router from 'vue-router'; // import Router from 'vue-router';
import { createWebHistory, createRouter } 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); // Vue.use(Router);

View File

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

View File

@ -56,7 +56,7 @@
<div class="column"> <div class="column">
<label class="label"> <label class="label">
{{ getCitation() }} {{ 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 >({{ "https://doi.org/" + dataset.identifier.value }})</a
> >
</label> </label>