Compare commits

..

1 commit

Author SHA1 Message Date
ceredpl
8612466ac6
Merge 909a0d081e into 4228dd0a29 2024-11-21 20:32:20 +01:00
3 changed files with 5 additions and 6 deletions

View file

@ -5,9 +5,6 @@ class CeredSMS extends NotificationProvider {
name = "ceredsms"; name = "ceredsms";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
let okMsg = "Sent Successfully."; let okMsg = "Sent Successfully.";

View file

@ -4,11 +4,11 @@
<HiddenInput id="ceredsms-key" v-model="$parent.notification.ceredsmsApiKey" :required="true" autocomplete="new-password"></HiddenInput> <HiddenInput id="ceredsms-key" v-model="$parent.notification.ceredsmsApiKey" :required="true" autocomplete="new-password"></HiddenInput>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="ceredsms-phone-number" class="form-label">{{ $t("To Phone Number") }}</label> <label for="ceredsms-phone-number" class="form-label">{{ $t("ceredsmsPhoneNumber") }}</label>
<input id="ceredsms-phone-number" v-model="$parent.notification.ceredsmsPhoneNumber" type="text" class="form-control" required> <input id="ceredsms-phone-number" v-model="$parent.notification.ceredsmsPhoneNumber" type="text" class="form-control" required>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="ceredsms-sender-name" class="form-label">{{ $t("Originator") }}</label> <label for="ceredsms-sender-name" class="form-label">{{ $t("ceredsmsSenderName") }}</label>
<input id="ceredsms-sender-name" v-model="$parent.notification.ceredsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control"> <input id="ceredsms-sender-name" v-model="$parent.notification.ceredsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control">
</div> </div>
</template> </template>

View file

@ -1088,5 +1088,7 @@
"Clear": "Clear", "Clear": "Clear",
"Elevator": "Elevator", "Elevator": "Elevator",
"Guitar": "Guitar", "Guitar": "Guitar",
"Pop": "Pop" "Pop": "Pop",
"ceredsmsSenderName": "Nadpis",
"ceredsmsPhoneNumber": "Numer telefonu"
} }