feat(admin): add registration policy settings and disabled register state
This commit is contained in:
@@ -19,11 +19,13 @@ const messages: AdminMessages = {
|
||||
signIn: "Sign in",
|
||||
signUpOwner: "Welcome",
|
||||
signUpUser: "Create account",
|
||||
signUpDisabled: "Registration disabled",
|
||||
},
|
||||
descriptions: {
|
||||
signIn: "Sign in description",
|
||||
signUpOwner: "Owner description",
|
||||
signUpUser: "User description",
|
||||
signUpDisabled: "Disabled description",
|
||||
},
|
||||
fields: {
|
||||
name: "Name",
|
||||
@@ -48,6 +50,7 @@ const messages: AdminMessages = {
|
||||
messages: {
|
||||
ownerCreated: "Owner account created.",
|
||||
accountCreated: "Account created.",
|
||||
registrationDisabled: "Registration is disabled.",
|
||||
},
|
||||
errors: {
|
||||
nameRequired: "Name is required.",
|
||||
@@ -57,6 +60,33 @@ const messages: AdminMessages = {
|
||||
networkSignUp: "Network sign up error",
|
||||
},
|
||||
},
|
||||
settings: {
|
||||
badge: "Admin Settings",
|
||||
title: "Settings",
|
||||
description: "Settings description",
|
||||
actions: {
|
||||
backToDashboard: "Back to dashboard",
|
||||
},
|
||||
registration: {
|
||||
title: "Registration",
|
||||
description: "Registration description",
|
||||
currentStatusLabel: "Current status",
|
||||
status: {
|
||||
enabled: "Enabled",
|
||||
disabled: "Disabled",
|
||||
},
|
||||
checkboxLabel: "Allow registration",
|
||||
actions: {
|
||||
save: "Save",
|
||||
},
|
||||
success: {
|
||||
updated: "Updated",
|
||||
},
|
||||
errors: {
|
||||
updateFailed: "Update failed",
|
||||
},
|
||||
},
|
||||
},
|
||||
dashboard: {
|
||||
badge: "Admin App",
|
||||
title: "Content Dashboard",
|
||||
|
||||
Reference in New Issue
Block a user