Skip to content

Commit

Permalink
"Appointment request form" notion
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <[email protected]>

Update AppointmentConfigList.vue

Signed-off-by: Jérôme Herbinet <[email protected]>

Update AppointmentConfigModal.vue

Signed-off-by: Jérôme Herbinet <[email protected]>
  • Loading branch information
Jerome-Herbinet committed Sep 25, 2024
1 parent 7253e42 commit 9b725f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/AppNavigation/AppointmentConfigList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div v-if="hasAtLeastOneCalendar"
class="appointment-config-list">
<AppNavigationCaption class="appointment-config-list__caption"
:name="t('calendar', 'Appointments')">
:name="t('calendar', 'Appointment request forms')">
<template v-if="hasUserEmailAddress"
#actions>
<ActionButton :close-after-click="true"
Expand Down
4 changes: 2 additions & 2 deletions src/components/AppointmentConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ export default {
...mapStores(useAppointmentConfigsStore, useCalendarsStore, useSettingsStore),
formTitle() {
if (this.isNew) {
return this.$t('calendar', 'Create appointment')
return this.$t('calendar', 'Create appointment request form')
}
return this.$t('calendar', 'Edit appointment')
return this.$t('calendar', 'Edit appointment request form')

Check warning on line 205 in src/components/AppointmentConfigModal.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppointmentConfigModal.vue#L205

Added line #L205 was not covered by tests
},
saveButtonText() {
if (this.isNew) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/AppointmentConfigModal/Confirmation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export default {
computed: {
title() {
if (this.isNew) {
return this.$t('calendar', 'Appointment was created successfully')
return this.$t('calendar', 'Appointment request form successfully created')

Check warning on line 52 in src/components/AppointmentConfigModal/Confirmation.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppointmentConfigModal/Confirmation.vue#L52

Added line #L52 was not covered by tests
}
return this.$t('calendar', 'Appointment was updated successfully')
return this.$t('calendar', 'Appointment request form successfully updated')
},
showCopyLinkButton() {
return navigator && navigator.clipboard
Expand Down

0 comments on commit 9b725f4

Please sign in to comment.