diff options
| author | marcin mikołajczak <git@mkljczk.pl> | 2024-01-19 19:01:38 +0100 |
|---|---|---|
| committer | marcin mikołajczak <git@mkljczk.pl> | 2024-01-19 19:01:38 +0100 |
| commit | d28e48e9dcf163e4493bcfc3c65ec62a0b740c38 (patch) | |
| tree | e3cf789de6e010f653bf821db85465f01e4692eb /src/components/registration/registration.vue | |
| parent | f6d3a66a5b7bcbbecc72a66532866ee096c7752d (diff) | |
| parent | dbe9da0f09d9471e9a87e564bb18412f937b8542 (diff) | |
Merge remote-tracking branch 'mkljczk/quotes-count' into quotes-count
Diffstat (limited to 'src/components/registration/registration.vue')
| -rw-r--r-- | src/components/registration/registration.vue | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index 7438a5f4..5c913f94 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -3,7 +3,10 @@ <div class="panel-heading"> {{ $t('registration.registration') }} </div> - <div class="panel-body"> + <div + v-if="!hasSignUpNotice" + class="panel-body" + > <form class="registration-form" @submit.prevent="submit(user)" @@ -307,6 +310,11 @@ </div> </form> </div> + <div v-else> + <p class="registration-notice"> + {{ signUpNotice.message }} + </p> + </div> </div> </template> @@ -404,6 +412,10 @@ $validations-cRed: #f04124; } } +.registration-notice { + margin: 0.6em; +} + @media all and (max-width: 800px) { .registration-form .container { flex-direction: column-reverse; |
