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