Add legacy octopush (Octopush-DM from 2011 to 2020 accounts) version

This commit is contained in:
DeeJayPee
2021-09-13 10:25:44 +02:00
parent 50175b733c
commit 29d0db805d
2 changed files with 55 additions and 19 deletions
+10
View File
@@ -244,6 +244,16 @@
</template>
<template v-if="notification.type === 'octopush'">
<div class="mb-3">
<label for="octopush-version" class="form-label">Octopush API Version</label>
<select id="octopush-version" v-model="notification.octopushVersion" class="form-select">
<option value="2">V2</option>
<option value="1">V1 (Legacy Octopush-DM)</option>
</select>
<div class="form-text">
Do you use the legacy version of Octopush (2011-2020) or the new version ?
</div>
</div>
<div class="mb-3">
<label for="octopush-key" class="form-label">API KEY</label>
<HiddenInput id="octopush-key" v-model="notification.octopushAPIKey" :required="true" autocomplete="one-time-code"></HiddenInput>