Compare commits

...

3 commits

Author SHA1 Message Date
ceredpl
28c14daa80
Merge 7c67daf7cc into 4228dd0a29 2024-11-21 22:50:15 +00:00
czarek
7c67daf7cc lang fix 2024-11-21 23:50:08 +01:00
czarek
e13a67acb3 add doc 2024-11-21 23:33:45 +01:00
3 changed files with 6 additions and 5 deletions

View file

@ -5,6 +5,9 @@ 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("ceredsmsPhoneNumber") }}</label> <label for="ceredsms-phone-number" class="form-label">{{ $t("To Phone Number") }}</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("ceredsmsSenderName") }}</label> <label for="ceredsms-sender-name" class="form-label">{{ $t("Originator") }}</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,7 +1088,5 @@
"Clear": "Clear", "Clear": "Clear",
"Elevator": "Elevator", "Elevator": "Elevator",
"Guitar": "Guitar", "Guitar": "Guitar",
"Pop": "Pop", "Pop": "Pop"
"ceredsmsSenderName": "Nadpis",
"ceredsmsPhoneNumber": "Numer telefonu"
} }