landed Delete Community

This commit is contained in:
2026-03-01 22:51:22 -07:00
parent 586cef7ad1
commit 18260c59f0
7 changed files with 116 additions and 3 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ menudefs:
link: "/comm/[CID]/admin/audit"
permission: "Community.ShowAdmin"
- text: "Delete Community"
link: "/TODO/comm/[CID]/admin/delete"
link: "/comm/[CID]/admin/delete"
permission: "Community.Delete"
hazard: true
- id: "confhost"
+28
View File
@@ -105,3 +105,31 @@ messagedefs:
tone: "green"
icon: "✗"
text: "No, Cancel"
- id: "deleteComm"
title: "Delete Community"
tone: "red"
destructive: true
message: "You are about to delete a community!"
warningIcon: "💣"
warningLines:
- text: "Warning: This action cannot be undone!"
bold: true
- text: "Deleting this community will permanently remove it and all its contents from the system."
bold: false
- text: "Hundreds or even thousands of individual contributions will be lost forever."
bold: false
- text: "Please consider this action very carefully!"
bold: true
buttons:
- id: "yes"
link: "placeholder"
confirm: true
tone: "red"
icon: "✓"
text: "Yes, Delete It"
- id: "no"
link: "placeholder"
confirm: false
tone: "green"
icon: "✗"
text: "No, Cancel"