Skip to content
Snippets Groups Projects
Commit 3eab5a8b authored by Mathieu Dartigues's avatar Mathieu Dartigues
Browse files

WIP: Ajout d'une première itération pour le descripteur de dataset

parent 7f333115
No related branches found
No related tags found
1 merge request!56Descripteur dataset: gestion des boutons share + contact
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
image: node:20 image: node:20
stages: stages:
- test # - test
- build - build
- deploy - deploy
- teardown - teardown
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
icon="fa-solid fa-envelope" icon="fa-solid fa-envelope"
/> />
</header> </header>
<OcDescriptorResourceSkeleton v-if="props.loading" /> <OcDescriptorResourceSkeleton v-if="props.loading" />
<div class="shadow-md bg-slate-100 rounded border my-8 p-8 relative" v-else> <div class="shadow-md bg-slate-100 rounded border my-8 p-8 relative" v-else>
<header class="flex-1"> <header class="flex-1">
...@@ -239,7 +238,6 @@ const menu = ref() ...@@ -239,7 +238,6 @@ const menu = ref()
*/ */
const availableLangs: ComputedRef<MenuItem[]> = computed(() => { const availableLangs: ComputedRef<MenuItem[]> = computed(() => {
const localeItems: MenuItem[] = [] const localeItems: MenuItem[] = []
const langs = new Set<string>() const langs = new Set<string>()
if (!props.resource) return localeItems if (!props.resource) return localeItems
if (typeof props.resource.title === 'object') { if (typeof props.resource.title === 'object') {
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
<script setup lang="ts"> <script setup lang="ts">
// see http://publications.europa.eu/resource/authority/dataset-status to all values // see http://publications.europa.eu/resource/authority/dataset-status to all values
import { useTranslateValue } from '@/composables/useTranslateValue' import { useTranslateValue } from '@/composables/useTranslateValue'
import type { OcVocabulary } from '@/declarations' import type { OcConcept } from '@/declarations'
import { computed } from 'vue' import { computed } from 'vue'
const props = defineProps<{ const props = defineProps<{
status: OcVocabulary status: OcConcept
}>() }>()
const { translateValue } = useTranslateValue('local') const { translateValue } = useTranslateValue('local')
......
...@@ -53,7 +53,7 @@ const props = defineProps({ ...@@ -53,7 +53,7 @@ const props = defineProps({
default: false default: false
}, },
userPrivateGraph: { userPrivateGraph: {
type: String, type: String
}, },
community: { community: {
type: Object as PropType<OcCommunity>, type: Object as PropType<OcCommunity>,
...@@ -62,7 +62,7 @@ const props = defineProps({ ...@@ -62,7 +62,7 @@ const props = defineProps({
breadcrumbItems: { breadcrumbItems: {
type: Object as PropType<OcBreadcrumbItem[]>, type: Object as PropType<OcBreadcrumbItem[]>,
required: true required: true
}, }
}) })
const { locale, t } = useI18n() const { locale, t } = useI18n()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment