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", "name": "calckey",
"version": "14.0.0-dev1", "version": "14.0.0-dev2",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -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;
} }