summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/Teams.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/Teams.vue')
-rw-r--r--src/components/notifications/Teams.vue18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/notifications/Teams.vue b/src/components/notifications/Teams.vue
new file mode 100644
index 0000000..2bc7648
--- /dev/null
+++ b/src/components/notifications/Teams.vue
@@ -0,0 +1,18 @@
+<template>
+ <div class="mb-3">
+ <label for="teams-webhookurl" class="form-label">{{ $t("Webhook URL") }}</label>
+ <input
+ id="teams-webhookurl"
+ v-model="$parent.notification.webhookUrl"
+ type="text"
+ class="form-control"
+ required
+ />
+ <i18n-t tag="div" keypath="wayToGetTeamsURL" class="form-text">
+ <a
+ href="https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook"
+ target="_blank"
+ >{{ $t("here") }}</a>
+ </i18n-t>
+ </div>
+</template>