summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/GoogleChat.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/GoogleChat.vue')
-rw-r--r--src/components/notifications/GoogleChat.vue13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/notifications/GoogleChat.vue b/src/components/notifications/GoogleChat.vue
new file mode 100644
index 0000000..c19cae0
--- /dev/null
+++ b/src/components/notifications/GoogleChat.vue
@@ -0,0 +1,13 @@
+<template>
+ <div class="mb-3">
+ <label for="google-chat-webhook-url" class="form-label">{{ $t("Webhook URL") }}<span style="color: red;"><sup>*</sup></span></label>
+ <input id="google-chat-webhook-url" v-model="$parent.notification.googleChatWebhookURL" type="text" class="form-control" required>
+
+ <div class="form-text">
+ <span style="color: red;"><sup>*</sup></span>{{ $t("Required") }}
+ <i18n-t tag="p" keypath="aboutWebhooks" style="margin-top: 8px;">
+ <a href="https://developers.google.com/chat/how-tos/webhooks" target="_blank">https://developers.google.com/chat/how-tos/webhooks</a>
+ </i18n-t>
+ </div>
+ </div>
+</template>