Use double curly brackets and sanity check for customSubject

This commit is contained in:
Lukas
2021-10-13 18:05:18 +02:00
parent 330cd6e058
commit 89b34b5748
2 changed files with 15 additions and 11 deletions

View File

@@ -45,7 +45,7 @@
<div class="mb-3">
<label for="subject-email" class="form-label">{{ $t("Email Subject") }}</label>
<input id="subject-email" v-model="$parent.notification.customsubject" type="text" class="form-control" autocomplete="false" placeholder="Service {NAME} on {HOSTNAME} has changed status to {STATUS}">
<input id="subject-email" v-model="$parent.notification.customSubject" type="text" class="form-control" autocomplete="false" placeholder="Service {{NAME}} on {{HOSTNAME}} has changed status to {{STATUS}}">
</div>
<div class="mb-3">