diff --git a/app/Http/Resources/StudyResource.php b/app/Http/Resources/StudyResource.php index edc00973..73bafc69 100644 --- a/app/Http/Resources/StudyResource.php +++ b/app/Http/Resources/StudyResource.php @@ -40,6 +40,7 @@ public function toArray($request) 'identifier' => $this->identifier, 'doi' => $this->doi, 'created_at' => $this->created_at, + 'release_date' => $this->release_date, 'is_public' => $this->is_public, 'public_url' => $this->public_url ? $this->public_url : null, 'updated_at' => $this->updated_at, diff --git a/resources/js/Pages/Public/Project/Study.vue b/resources/js/Pages/Public/Project/Study.vue index 558a05fc..27bf3389 100644 --- a/resources/js/Pages/Public/Project/Study.vue +++ b/resources/js/Pages/Public/Project/Study.vue @@ -5,6 +5,20 @@
+
+ + +

{{ study.data.name }} @@ -446,6 +460,8 @@ import SpectraViewer from "@/Shared/SpectraViewer.vue"; import Depictor2D from "@/Shared/Depictor2D.vue"; import DOIBadge from "@/Shared/DOIBadge.vue"; import { Head } from "@inertiajs/vue3"; +import Citation from "@/Shared/Citation.vue"; +import ShowProjectDates from "@/Shared/ShowProjectDates.vue"; export default { components: { @@ -460,6 +476,8 @@ export default { Depictor2D, DOIBadge, Head, + Citation, + ShowProjectDates, }, props: ["project", "tab", "study"], data() { diff --git a/resources/js/Pages/Public/Sample/Show.vue b/resources/js/Pages/Public/Sample/Show.vue index 0575eb75..9aa5409e 100644 --- a/resources/js/Pages/Public/Sample/Show.vue +++ b/resources/js/Pages/Public/Sample/Show.vue @@ -5,6 +5,21 @@
+
+ + +
+
@@ -498,6 +513,8 @@ import SpectraViewer from "@/Shared/SpectraViewer.vue"; import Depictor2D from "@/Shared/Depictor2D.vue"; import DOIBadge from "@/Shared/DOIBadge.vue"; import { Head } from "@inertiajs/vue3"; +import Citation from "@/Shared/Citation.vue"; +import ShowProjectDates from "@/Shared/ShowProjectDates.vue"; export default { components: { @@ -512,6 +529,8 @@ export default { Depictor2D, DOIBadge, Head, + Citation, + ShowProjectDates, }, props: ["project", "tab", "study"], data() {