2023-06-27 11:14:31 +02:00
|
|
|
<div class="new-style">
|
|
|
|
<div class="input-group">
|
2023-09-28 12:35:13 +02:00
|
|
|
<div class="integration-url-name-wrapper integration-url-parameter">
|
|
|
|
{{> ../dropdown_widget_with_label
|
|
|
|
widget_name="integration-name"
|
|
|
|
label=(t "Integration")}}
|
|
|
|
</div>
|
2023-06-27 11:14:31 +02:00
|
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
|
|
<div class="integration-url-stream-wrapper integration-url-parameter">
|
|
|
|
{{> ../dropdown_widget_with_label
|
|
|
|
widget_name="integration-url-stream"
|
|
|
|
label=(t "Where to send notifications")}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="input-group control-label-disabled">
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" id="integration-url-override-topic" class="integration-url-parameter" disabled/>
|
|
|
|
<span></span>
|
|
|
|
</label>
|
|
|
|
<label class="inline" for="integration-url-override-topic">
|
|
|
|
{{t "Send all notifications to a single topic"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="input-group hide">
|
2024-04-01 15:48:08 +02:00
|
|
|
<label for="integration-url-topic-input" class="modal-label-field">{{t "Topic"}}</label>
|
2023-06-27 11:14:31 +02:00
|
|
|
<input type="text" id="integration-url-topic-input" class="modal_text_input integration-url-parameter" maxlength="{{ max_topic_length }}" />
|
|
|
|
</div>
|
2023-12-19 18:23:17 +01:00
|
|
|
<div id="integration-events-parameter" class="input-group hide">
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" id="show-integration-events"/>
|
|
|
|
<span></span>
|
|
|
|
</label>
|
|
|
|
<label class="inline" for="show-integration-events">
|
|
|
|
{{t "Filter events that will trigger notifications?"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="input-group hide" id="integrations-event-container">
|
|
|
|
<label for="integrations-event-options">{{t "Events to include:"}}</label>
|
|
|
|
<div class="integration-all-events-buttons">
|
|
|
|
<button class="button rounded" id="add-all-integration-events">{{t "Check all"}}</button>
|
|
|
|
<button class="button rounded" id="remove-all-integration-events">{{t "Uncheck all"}}</button>
|
|
|
|
</div>
|
|
|
|
<div id="integrations-event-options"></div>
|
|
|
|
</div>
|
2023-06-27 11:14:31 +02:00
|
|
|
<hr />
|
|
|
|
<p class="integration-url-header">{{t "URL for your integration"}}</p>
|
|
|
|
<div class="integration-url">
|
|
|
|
{{default_url_message}}
|
|
|
|
</div>
|
|
|
|
</div>
|