feat:#4 added input and translation

This commit is contained in:
Elmar Kresse
2024-05-20 01:28:57 +02:00
parent 20d697d105
commit eb21c22d17
3 changed files with 26 additions and 5 deletions

View File

@@ -240,5 +240,11 @@
"ninthAnswer": "Wenn du dich für die Entwicklung und den Quelltext interessierst, kannst du jederzeit als HTWK-Student daran mitarbeiten. Quelltext und weitere Informationen findest du im ", "ninthAnswer": "Wenn du dich für die Entwicklung und den Quelltext interessierst, kannst du jederzeit als HTWK-Student daran mitarbeiten. Quelltext und weitere Informationen findest du im ",
"notFound": "Nicht gefunden, wonach du suchst?", "notFound": "Nicht gefunden, wonach du suchst?",
"contact": "Kontakt aufnehmen" "contact": "Kontakt aufnehmen"
},
"userCalender": {
"headline": "Dein Kalender",
"subTitle": "Hier findest du die Kalenderansicht von deinem persönlichen Feed.",
"searchPlaceholder": "Token",
"searchButton": "Kalender laden"
} }
} }

View File

@@ -240,5 +240,11 @@
"ninthAnswer": "If you want to contribute, you can do so at any time if you are a HTWK student. The source code is available on ", "ninthAnswer": "If you want to contribute, you can do so at any time if you are a HTWK student. The source code is available on ",
"notFound": "Not finding what you're looking for?", "notFound": "Not finding what you're looking for?",
"contact": "Get in touch" "contact": "Get in touch"
},
"userCalender": {
"headline": "user calendar",
"subTitle": "Here you can find the calendar view of your personal feed.",
"searchPlaceholder": "calendar token",
"searchButton": "load calendar"
} }
} }

View File

@@ -11,14 +11,23 @@ import DynamicPage from "@/view/DynamicPage.vue";
<template> <template>
<DynamicPage <DynamicPage
:hide-content="false" :hide-content="false"
:headline="$t('freeRooms.freeRooms')" :headline="$t('userCalender.headline')"
:sub-title="$t('freeRooms.detail')" :sub-title="$t('userCalender.subTitle')"
> >
<template #selection="{ flexSpecs }"> <template #selection="{ flexSpecs }">
<CalendarViewer <InputText
:placeholder="$t('userCalender.searchPlaceholder')"
:class="flexSpecs" :class="flexSpecs"
/> />
</template> <Button
:label="$t('userCalender.searchButton')"
icon="pi pi-refresh"
/>
</template>
<template #content>
<CalendarViewer
/>
</template>
</DynamicPage> </DynamicPage>
</template> </template>