fix: only show signupsDisabled if signups disabled

This commit is contained in:
ThatOneCalculator 2023-05-05 12:04:13 -07:00
parent 8d36aabcc5
commit 88f9f8609d
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "14.0.0-dev1",
"version": "14.0.0-dev2",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -1,8 +1,10 @@
<template>
<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;
}