+ @click="openLink('https://conduction.gitbook.io/opencatalogi-nextcloud/beheerders/organisaties')">
@@ -196,8 +196,8 @@ export default {
console.error(err)
})
},
- linkToOtherWindow(url) {
- window.open(url, '_blank')
+ openLink(url, type = '') {
+ window.open(url, type)
},
},
}
diff --git a/src/views/organisations/OrganisationList.vue b/src/views/organisations/OrganisationList.vue
index cef7616c..f4e457cc 100644
--- a/src/views/organisations/OrganisationList.vue
+++ b/src/views/organisations/OrganisationList.vue
@@ -1,5 +1,5 @@
@@ -17,7 +17,7 @@ import { navigationStore, organisationStore } from '../../store/store.js';
+ @click="openLink('https://conduction.gitbook.io/opencatalogi-nextcloud/beheerders/organisaties')">
@@ -84,18 +84,18 @@ import { navigationStore, organisationStore } from '../../store/store.js';
diff --git a/src/views/publications/PublicationDetail.vue b/src/views/publications/PublicationDetail.vue
index c8fadde2..c63aed89 100644
--- a/src/views/publications/PublicationDetail.vue
+++ b/src/views/publications/PublicationDetail.vue
@@ -125,11 +125,11 @@ import { catalogiStore, metadataStore, navigationStore, publicationStore } from
Gepubliceerd:
- {{ publicationStore.publicationItem.published?.toLocaleDateString('en-nl') }}
+ {{ publicationStore.publicationItem.published }}
Gewijzigd:
- {{ publicationStore.publicationItem.modified?.toLocaleDateString('en-nl') }}
+ {{ publicationStore.publicationItem.modified }}
Catalogi:
diff --git a/src/views/publications/PublicationList.vue b/src/views/publications/PublicationList.vue
index ffe23ff7..9394a73a 100644
--- a/src/views/publications/PublicationList.vue
+++ b/src/views/publications/PublicationList.vue
@@ -43,7 +43,7 @@ import { navigationStore, publicationStore } from '../../store/store.js'
+ @click="openLink('https://conduction.gitbook.io/opencatalogi-nextcloud/gebruikers/publicaties')">
@@ -237,6 +237,9 @@ export default {
debouncedFetchData: debounce(function(search) {
this.fetchData(search)
}, 500),
+ openLink(url, type = '') {
+ window.open(url, type)
+ },
},
}
diff --git a/src/views/themes/ThemeDetail.vue b/src/views/themes/ThemeDetail.vue
index c56f20e7..cc425b27 100644
--- a/src/views/themes/ThemeDetail.vue
+++ b/src/views/themes/ThemeDetail.vue
@@ -25,7 +25,7 @@ import { navigationStore, themeStore } from '../../store/store.js'
+ @click="openLink('https://conduction.gitbook.io/opencatalogi-nextcloud/beheerders/themas')">
@@ -196,8 +196,8 @@ export default {
console.error(err)
})
},
- linkToOtherWindow(url) {
- window.open(url, '_blank')
+ openLink(url, type = '') {
+ window.open(url, type)
},
},
}
diff --git a/src/views/themes/ThemeList.vue b/src/views/themes/ThemeList.vue
index 5871fbe7..07903d57 100644
--- a/src/views/themes/ThemeList.vue
+++ b/src/views/themes/ThemeList.vue
@@ -17,7 +17,7 @@ import { navigationStore, themeStore } from '../../store/store.js'
+ @click="openLink('https://conduction.gitbook.io/opencatalogi-nextcloud/beheerders/themas')">
@@ -159,6 +159,9 @@ export default {
debouncedFetchData: debounce(function(search) {
this.fetchData(search)
}, 500),
+ openLink(url, type = '') {
+ window.open(url, type)
+ },
},
}