From e9085e455f90e5ad772f25c441c66b6957952aa0 Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Sat, 21 Sep 2024 19:41:55 +0900
Subject: [PATCH] :art:
---
.../src/pages/admin/other-settings.vue | 6 +-
.../src/pages/admin/system-webhook.item.vue | 107 +++++-------------
.../src/pages/admin/system-webhook.vue | 9 +-
3 files changed, 39 insertions(+), 83 deletions(-)
diff --git a/packages/frontend/src/pages/admin/other-settings.vue b/packages/frontend/src/pages/admin/other-settings.vue
index 0163daf1ba..cad111997f 100644
--- a/packages/frontend/src/pages/admin/other-settings.vue
+++ b/packages/frontend/src/pages/admin/other-settings.vue
@@ -46,7 +46,10 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.enable }}
- {{ i18n.ts._serverSettings.fanoutTimelineDescription }}
+
+ {{ i18n.ts._serverSettings.fanoutTimelineDescription }}
+ {{ i18n.ts.details }}
+
@@ -103,6 +106,7 @@ import { definePageMetadata } from '@/scripts/page-metadata.js';
import MkSwitch from '@/components/MkSwitch.vue';
import MkFolder from '@/components/MkFolder.vue';
import MkInput from '@/components/MkInput.vue';
+import MkLink from '@/components/MkLink.vue';
const enableServerMachineStats = ref(false);
const enableIdenticonGeneration = ref(false);
diff --git a/packages/frontend/src/pages/admin/system-webhook.item.vue b/packages/frontend/src/pages/admin/system-webhook.item.vue
index 0c07122af3..3ae839e0e7 100644
--- a/packages/frontend/src/pages/admin/system-webhook.item.vue
+++ b/packages/frontend/src/pages/admin/system-webhook.item.vue
@@ -4,33 +4,42 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
-
-
-
-
-
-
-
- {{ entity.name || entity.url }}
-
-
-
-
-
-
+
+ {{ entity.name || entity.url }}
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+ {{ i18n.ts.edit }}
+
+
+ {{ i18n.ts.delete }}
+
+
+
+
diff --git a/packages/frontend/src/pages/admin/system-webhook.vue b/packages/frontend/src/pages/admin/system-webhook.vue
index 7a40eec944..c59abda24a 100644
--- a/packages/frontend/src/pages/admin/system-webhook.vue
+++ b/packages/frontend/src/pages/admin/system-webhook.vue
@@ -11,8 +11,8 @@ SPDX-License-Identifier: AGPL-3.0-only
-
- {{ i18n.ts._webhookSettings.createWebhook }}
+
+ {{ i18n.ts._webhookSettings.createWebhook }}
@@ -89,8 +89,5 @@ definePageMetadata(() => ({