fix: only show signupsDisabled if signups disabled
This commit is contained in:
parent
8d36aabcc5
commit
88f9f8609d
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "14.0.0-dev1",
|
"version": "14.0.0-dev2",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<p>{{ i18n.ts.signupsDisabled }}</p>
|
<div v-if="instance.disableRegistration" style="margin-bottom: 1rem">
|
||||||
<a href="https://calckey.org/join">
|
<p>{{ i18n.ts.signupsDisabled }}</p>
|
||||||
<MkButton rounded gradate>{{ i18n.ts.findOtherInstance }} </MkButton>
|
<a href="https://calckey.org/join">
|
||||||
</a>
|
<MkButton rounded gradate>{{ i18n.ts.findOtherInstance }} </MkButton>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<form
|
<form
|
||||||
class="qlvuhzng _formRoot"
|
class="qlvuhzng _formRoot"
|
||||||
autocomplete="new-password"
|
autocomplete="new-password"
|
||||||
|
@ -496,7 +498,6 @@ function onSubmit(): void {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.qlvuhzng {
|
.qlvuhzng {
|
||||||
margin-top: 1rem;
|
|
||||||
.captcha {
|
.captcha {
|
||||||
margin: 16px 0;
|
margin: 16px 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue