Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAFink committed Nov 8, 2023
1 parent 8261373 commit 45165f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
27 changes: 2 additions & 25 deletions frontend/src/components/AppointmentForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@

<div class="confirm-action">
<span v-if="appointmentCanBeConfirmed">
<!--
<v-alert border="right" color="blue-grey" dark>
{{ $t('pleaseCheckOnceAgain') }}
</v-alert>-->
<div class="m-banner m-banner--info" role="dialog" aria-label="Information">
<div class="container-fluid">
<svg aria-hidden="true" class="icon">
Expand Down Expand Up @@ -156,8 +152,8 @@
</div>
<div class="m-callout__body">
<div class="m-callout__body__inner">
<h2 class="m-callout__headline">{{ confirmedAppointment? $t('appointmentIsPreconfirmed'): $t('errorTryAgainLater') }}</h2>
<div class="m-callout__content"
<h2 class="m-callout__headline appointment-confirmation">{{ confirmedAppointment? $t('appointmentIsPreconfirmed'): $t('errorTryAgainLater') }}</h2>
<div class="m-callout__content appointment-confirmation-notice"
v-if="!appointmentCancelled && confirmedAppointment !== null && $store.state.preselectedAppointment === null && $store.state.data.appointment !== null"
:color="confirmedAppointment ? $store.state.settings.theme.notice : $store.state.settings.theme.error">
<p>{{ confirmedAppointment? $t('appointmentPreconfirmedNotice'): $t('errorTryAgainLater') }}</p>
Expand All @@ -170,17 +166,6 @@
</div>
</div>
</div>
<!--
<v-alert class="appointment-confirmation"
v-if="!appointmentCancelled && confirmedAppointment !== null && $store.state.preselectedAppointment === null && $store.state.data.appointment !== null"
:color="confirmedAppointment ? $store.state.settings.theme.success : $store.state.settings.theme.error">
{{ confirmedAppointment? $t('appointmentIsPreconfirmed'): $t('errorTryAgainLater') }}
</v-alert>-->
<!--
<v-alert class="appointment-activated" v-if="activatedAppointment && !appointmentCancelled"
:color="$store.state.settings.theme.success">
{{ $t('appointmentIsConfirmed') }}
</v-alert>-->
<div class="m-banner m-banner--warning appointment-activated" role="alert" aria-label="Warnung" v-if="activatedAppointment && !appointmentCancelled">
<div class="container-fluid">
<svg aria-hidden="true" class="icon">
Expand All @@ -189,14 +174,6 @@
<p>{{ $t('appointmentIsConfirmed') }}</p>
</div>
</div>
<!--
<v-alert class="appointment-confirmation-notice"
v-if="!appointmentCancelled && confirmedAppointment !== null && $store.state.preselectedAppointment === null && $store.state.data.appointment !== null"
:color="confirmedAppointment ? $store.state.settings.theme.notice : $store.state.settings.theme.error">
{{ confirmedAppointment? $t('appointmentPreconfirmedNotice'): $t('errorTryAgainLater') }}
</v-alert>
-->

<v-alert class="appointment-cancel" v-if="appointmentCancelled !== null"
:color="appointmentCancelled ? $store.state.settings.theme.success : $store.state.settings.theme.error">
{{ appointmentCancelled? $t('appointmentCanceled'): $t('appointmentCanNotBeCanceled') }}
Expand Down
6 changes: 0 additions & 6 deletions frontend/src/components/TheCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@
<div class="appointment-container-subtitle lighten-2">
<h4 tabindex="0">{{ formatDay(date) }}</h4>
</div>
<!--
<div>
<v-alert :color="$store.state.settings.theme.error">
<p>{{ timeSlotError }}</p>
</v-alert>
</div>-->
<div v-if="timeSlotError" class="m-component m-component-callout m-component-callout--warning m-component-callout--fullwidth">
<div>
<div class="m-component__grid">
Expand Down

0 comments on commit 45165f2

Please sign in to comment.