summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/Bitrix24.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/Bitrix24.vue')
-rw-r--r--src/components/notifications/Bitrix24.vue24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/notifications/Bitrix24.vue b/src/components/notifications/Bitrix24.vue
new file mode 100644
index 0000000..ac3dc31
--- /dev/null
+++ b/src/components/notifications/Bitrix24.vue
@@ -0,0 +1,24 @@
+<template>
+ <div class="mb-3">
+ <label for="bitrix24-webhook-url" class="form-label">{{ $t("Bitrix24 Webhook URL") }}</label>
+ <HiddenInput id="bitrix24-webhook-url" v-model="$parent.notification.bitrix24WebhookURL" :required="true" autocomplete="new-password"></HiddenInput>
+ <i18n-t tag="div" keypath="wayToGetBitrix24Webhook" class="form-text">
+ <a href="https://helpdesk.bitrix24.com/open/12357038/" target="_blank">https://helpdesk.bitrix24.com/open/12357038/</a>
+ </i18n-t>
+ </div>
+
+ <div class="mb-3">
+ <label for="bitrix24-user-id" class="form-label">{{ $t("User ID") }}</label>
+ <input id="bitrix24-user-id" v-model="$parent.notification.bitrix24UserID" type="text" class="form-control" required>
+ <div class="form-text">{{ $t("bitrix24SupportUserID") }}</div>
+ </div>
+</template>
+<script>
+import HiddenInput from "../HiddenInput.vue";
+
+export default {
+ components: {
+ HiddenInput,
+ }
+};
+</script>