fix: only show signupsDisabled if signups disabled
This commit is contained in:
parent
8d36aabcc5
commit
88f9f8609d
2 changed files with 7 additions and 6 deletions
|
@ -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>
|
||||||
|
<div v-if="instance.disableRegistration" style="margin-bottom: 1rem">
|
||||||
<p>{{ i18n.ts.signupsDisabled }}</p>
|
<p>{{ i18n.ts.signupsDisabled }}</p>
|
||||||
<a href="https://calckey.org/join">
|
<a href="https://calckey.org/join">
|
||||||
<MkButton rounded gradate>{{ i18n.ts.findOtherInstance }} </MkButton>
|
<MkButton rounded gradate>{{ i18n.ts.findOtherInstance }} </MkButton>
|
||||||
</a>
|
</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 a new issue