Show a different message when we can't save anonymous participation

token in browser

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-27 18:17:02 +02:00
parent 5cdac95a85
commit 8ecfd111c5
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -4,7 +4,7 @@
{{ $t("Your participation request is being validated") }} {{ $t("Your participation request is being validated") }}
</h1> </h1>
<div v-else> <div v-else>
<div v-if="failed"> <div v-if="failed && participation === undefined">
<b-message <b-message
:title="$t('Error while validating participation request')" :title="$t('Error while validating participation request')"
type="is-danger" type="is-danger"
@ -28,6 +28,22 @@
$t("Your participation still has to be approved by the organisers.") $t("Your participation still has to be approved by the organisers.")
}} }}
</p> </p>
<div v-if="failed">
<b-message
:title="
$t(
'Error while updating participation status inside this browser'
)
"
type="is-warning"
>
{{
$t(
"We couldn't save your participation inside this browser. Not to worry, you have successfully confirmed your participation, we just couldn't save it's status in this browser because of a technical issue."
)
}}
</b-message>
</div>
<div class="columns has-text-centered"> <div class="columns has-text-centered">
<div class="column"> <div class="column">
<router-link <router-link