nodebb-plugin-discord-onekite 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
<form role="form" class="discord-onekite-settings">
|
|
11
11
|
<div class="mb-3">
|
|
12
12
|
<label class="form-label" for="webhookUrl">Discord Webhook URL</label>
|
|
13
|
-
<input type="text" class="form-control" id="webhookUrl" data-
|
|
13
|
+
<input type="text" class="form-control" id="webhookUrl" data-key="webhookUrl" value="{settings.webhookUrl}" placeholder="https://discord.com/api/webhooks/..." />
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
<div class="form-check mb-3">
|
|
17
|
-
<input class="form-check-input" type="checkbox" id="notifyReplies" data-
|
|
17
|
+
<input class="form-check-input" type="checkbox" id="notifyReplies" data-key="notifyReplies" <!-- IF settings.notifyReplies -->checked<!-- ENDIF settings.notifyReplies -->>
|
|
18
18
|
<label class="form-check-label" for="notifyReplies">
|
|
19
19
|
Notifier aussi les réponses (si décoché : uniquement les nouveaux sujets)
|
|
20
20
|
</label>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<!-- END categories -->
|
|
30
30
|
</select>
|
|
31
31
|
|
|
32
|
-
<input type="hidden" id="cids" data-
|
|
32
|
+
<input type="hidden" id="cids" data-key="cids" value="{settings.cids}" />
|
|
33
33
|
|
|
34
34
|
<p class="form-text text-muted">
|
|
35
35
|
Si aucune catégorie n’est sélectionnée : <strong>toutes les catégories</strong> seront notifiées.
|