-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding birthday and public holiday cards
- Loading branch information
1 parent
d57007b
commit 7f1ab92
Showing
6 changed files
with
174 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<v-card elevation="0" variant="outlined" color="white" class="pa-4"> | ||
<div class="d-flex flex-row-reverse"> | ||
<v-icon class="me-2" @click.stop="$emit('close-dialog', false)"> mdi-close </v-icon> | ||
</div> | ||
<v-card-title class="text-center my-2"> | ||
<h1>Wish a happy birthday to</h1> | ||
</v-card-title> | ||
|
||
<profileImage v-show="birthday" :user="birthday" class=" my-2"/> | ||
|
||
<v-card elevation="0" variant="outlined" class="pa-4 mt-2"> | ||
<v-row class="text-center"> | ||
<v-col cols="6"> | ||
<b>Name</b> | ||
</v-col> | ||
<v-col cols="6"> | ||
{{ birthday.full_name }} | ||
</v-col> | ||
</v-row> | ||
<v-row class="text-center"> | ||
<v-col cols="6"> | ||
<b>Team</b> | ||
</v-col> | ||
<v-col cols="6"> | ||
{{ birthday.team ? birthday.team : "--" }} | ||
</v-col> | ||
</v-row> | ||
<v-row class="text-center"> | ||
<v-col cols="6"> | ||
<b>Email</b> | ||
</v-col> | ||
<v-col cols="6"> | ||
{{ birthday.email }} | ||
</v-col> | ||
</v-row> | ||
|
||
</v-card> | ||
</v-card> | ||
</template> | ||
<script lang="ts"> | ||
import profileImage from "@/components/profileImage.vue"; | ||
export default { | ||
name: "birthdayCard", | ||
props: ["birthday"], | ||
emits: { | ||
'close-dialog': (item: Boolean) => item | ||
}, | ||
components: { | ||
profileImage, | ||
}, | ||
setup(props) { | ||
return { | ||
profileImage, | ||
}; | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<template> | ||
<v-card elevation="0" variant="outlined" color="white" class="pa-4"> | ||
<div class="d-flex flex-row-reverse"> | ||
<v-icon class="me-2" @click.stop="$emit('close-dialog', false)"> mdi-close </v-icon> | ||
</div> | ||
<v-card-title class="text-center my-2"> | ||
<h1>{{ holiday.location.country }}</h1> | ||
</v-card-title> | ||
<v-card elevation="0" variant="outlined" class="pa-4 mt-2"> | ||
<v-row class="pa-2 "> | ||
<p> | ||
<b>{{ holiday.holiday_date }}</b> is a public holiday in <b>{{ holiday.location.country }}</b>, We hope you and | ||
your family have a peaceful and enjoyable holiday. Please be aware that our office in <b>{{ | ||
holiday.location.country }}</b>, will be closed on | ||
this date. Thank you! | ||
</p> | ||
</v-row> | ||
|
||
</v-card> | ||
</v-card> | ||
</template> | ||
<script lang="ts"> | ||
import { ref } from 'vue'; | ||
export default { | ||
name: "holidayCard", | ||
props: ["holiday"], | ||
emits: { | ||
'close-dialog': (item: Boolean) => item | ||
}, | ||
setup(props) { | ||
return { | ||
}; | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,6 +262,7 @@ export module Api { | |
meeting? :any | ||
event?: any | ||
holidays?: any | ||
users?:any | ||
date: any | ||
len?: number | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters