#172 - release note added

This commit is contained in:
2022-07-04 22:27:37 +02:00
parent 902af64833
commit 0d26af30b0
5 changed files with 86 additions and 1 deletions

View File

@@ -9,6 +9,30 @@
<div class="lg:px-4">
<slot />
</div>
<div class="p-4 text-xs text-gray-500 flex align-baseline gap-x-1">
<p>
Wydanie:
<a
v-if="deployInformation.github_url"
:href="`${deployInformation.github_url}/commit/${deployInformation.slug_commit}`"
target="_blank"
rel="noopener nofollow noreferrer"
:title="`Commit: ${deployInformation.slug_commit}`"
>
{{ deployInformation.slug_description }} ({{ deployInformation.release_version }})
</a>
<span
v-else
:title="`Commit: ${deployInformation.slug_commit}`"
>
{{ deployInformation.slug_description }}
</span>
;
</p>
<p v-if="deployInformation.release_created_at">
Data wydania: {{ deployInformation.release_created_at }};
</p>
</div>
</main>
</div>
</template>
@@ -23,6 +47,7 @@ const props = defineProps({
auth: Object,
years: Object,
vacationRequestsCount: Number,
deployInformation: Object,
})
const toast = useToast()

View File

@@ -1,5 +1,33 @@
<template>
<div class="flex flex-col justify-center py-12 min-h-screen bg-blumilk-25 sm:px-6 lg:px-8">
<div class="relative flex flex-col justify-center py-12 min-h-screen bg-blumilk-25 sm:px-6 lg:px-8">
<slot />
<div class="absolute left-0 bottom-0 min-w-full p-4 text-xs text-gray-500 flex flex-col gap-x-1">
<p>
Wydanie:
<a
v-if="deployInformation.github_url"
:href="`${deployInformation.github_url}/commit/${deployInformation.slug_commit}`"
target="_blank"
rel="noopener nofollow noreferrer"
:title="`Commit: ${deployInformation.slug_commit}`"
>
{{ deployInformation.slug_description }} ({{ deployInformation.release_version }})
</a>
<span
v-else
:title="`Commit: ${deployInformation.slug_commit}`"
>
{{ deployInformation.slug_description }}
</span>
</p>
<p v-if="deployInformation.release_created_at">
Data wydania: {{ deployInformation.release_created_at }}
</p>
</div>
</div>
</template>
<script setup>
defineProps({
deployInformation: Object,
})
</script>