mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-09-17 01:34:53 +00:00
fix up Webhook management
This commit is contained in:
@@ -4401,7 +4401,7 @@ fieldset input[type="radio"] {
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
margin-top: 6px;
|
||||
img {
|
||||
.pfpDiv {
|
||||
width: 48px !important;
|
||||
height: 48px !important;
|
||||
padding: 4px !important;
|
||||
|
||||
@@ -156,7 +156,7 @@ async function webhookMenu(
|
||||
form.addHTMLArea(div);
|
||||
} catch {}
|
||||
form.addButtonInput("", I18n.webhooks.deleteWebhook(), () => {
|
||||
const d = new Dialog("areYouSureDelete");
|
||||
const d = new Dialog(I18n.webhooks.areYouSureDeleteHead(hook.name));
|
||||
const opt = d.options;
|
||||
opt.addTitle(I18n.webhooks.areYouSureDelete(hook.name));
|
||||
const opt2 = opt.addOptions("", {ltr: true});
|
||||
|
||||
@@ -1038,6 +1038,7 @@
|
||||
"webhooks": {
|
||||
"EnterWebhookName": "Enter webhook name",
|
||||
"areYouSureDelete": "Are you sure you want to delete $1?",
|
||||
"areYouSureDeleteHead":"Delete $1?",
|
||||
"avatar": "Avatar",
|
||||
"base": "Webhooks",
|
||||
"channel": "Webhook outputs to channel:",
|
||||
|
||||
Reference in New Issue
Block a user