2021-09-17 08:07:03 +00:00
|
|
|
<template>
|
|
|
|
<div class="mb-3">
|
2021-09-21 05:02:41 +00:00
|
|
|
<label for="mattermost-webhook-url" class="form-label">{{ $t("Webhook URL") }}<span style="color:red;"><sup>*</sup></span></label>
|
2021-09-17 08:07:03 +00:00
|
|
|
<input id="mattermost-webhook-url" v-model="$parent.notification.mattermostWebhookUrl" type="text" class="form-control" required>
|
2021-09-21 05:02:41 +00:00
|
|
|
<label for="mattermost-username" class="form-label">{{ $t("Username") }}</label>
|
2021-09-17 08:07:03 +00:00
|
|
|
<input id="mattermost-username" v-model="$parent.notification.mattermostusername" type="text" class="form-control">
|
2021-09-21 05:02:41 +00:00
|
|
|
<label for="mattermost-iconurl" class="form-label">{{ $t("Icon URL") }}</label>
|
2021-09-17 08:07:03 +00:00
|
|
|
<input id="mattermost-iconurl" v-model="$parent.notification.mattermosticonurl" type="text" class="form-control">
|
2021-09-21 05:02:41 +00:00
|
|
|
<label for="mattermost-iconemo" class="form-label">{{ $t("Icon Emoji") }}</label>
|
2021-09-17 08:07:03 +00:00
|
|
|
<input id="mattermost-iconemo" v-model="$parent.notification.mattermosticonemo" type="text" class="form-control">
|
2021-09-21 05:02:41 +00:00
|
|
|
<label for="mattermost-channel" class="form-label">{{ $t("Channel Name") }}</label>
|
2021-09-17 08:07:03 +00:00
|
|
|
<input id="mattermost-channel-name" v-model="$parent.notification.mattermostchannel" type="text" class="form-control">
|
|
|
|
<div class="form-text">
|
2021-09-21 05:02:41 +00:00
|
|
|
<span style="color:red;"><sup>*</sup></span>{{ $t("Required") }}
|
2021-09-30 11:22:17 +00:00
|
|
|
<i18n-t tag="p" keypath="aboutWebhooks" style="margin-top: 8px;">
|
2021-09-21 05:02:41 +00:00
|
|
|
<a href="https://docs.mattermost.com/developer/webhooks-incoming.html" target="_blank">https://docs.mattermost.com/developer/webhooks-incoming.html</a>
|
|
|
|
</i18n-t>
|
2021-09-17 08:07:03 +00:00
|
|
|
<p style="margin-top: 8px;">
|
2021-09-21 05:02:41 +00:00
|
|
|
{{ $t("aboutMattermostChannelName") }}
|
2021-09-17 08:07:03 +00:00
|
|
|
</p>
|
|
|
|
<p style="margin-top: 8px;">
|
2021-09-21 05:02:41 +00:00
|
|
|
{{ $t("aboutKumaURL") }}
|
2021-09-17 08:07:03 +00:00
|
|
|
</p>
|
|
|
|
<p style="margin-top: 8px;">
|
2021-09-21 05:02:41 +00:00
|
|
|
{{ $t("aboutIconURL") }}
|
2021-09-17 08:07:03 +00:00
|
|
|
</p>
|
2021-09-30 11:22:17 +00:00
|
|
|
<i18n-t tag="p" keypath="emojiCheatSheet" style="margin-top: 8px;">
|
2021-09-21 05:02:41 +00:00
|
|
|
<a href="https://www.webfx.com/tools/emoji-cheat-sheet/" target="_blank">https://www.webfx.com/tools/emoji-cheat-sheet/</a>
|
|
|
|
</i18n-t>
|
2021-09-17 08:07:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|