Adds ability to notify channel when Slack webhook triggered

- Adds field to toggle channel mentions on/off for Slack integration
- Adds special mention for @channel when enabled

Reference:
[Slack docs](https://api.slack.com/reference/surfaces/formatting#special-mentions)
This commit is contained in:
duane 2023-04-17 12:49:15 -05:00 committed by duane
parent fd10897988
commit 00f733d352
2 changed files with 14 additions and 4 deletions

View file

@ -24,5 +24,11 @@
<a href="https://www.webfx.com/tools/emoji-cheat-sheet/" target="_blank">https://www.webfx.com/tools/emoji-cheat-sheet/</a>
</i18n-t>
</div>
<div class="form-check form-switch">
<input id="slack-channel-mention" v-model="$parent.notification.slackchannelmention" type="checkbox" class="form-check-input">
<label for="slack-channel-mention" class="form-label">{{ $t("Mention Channel") }}</label>
</div>
</div>
</template>