move try/catch into main control flow and more from code review comments

This commit is contained in:
Humberto Evans
2024-02-13 17:27:59 -08:00
parent 4cdc8f344b
commit 5a9c3ad353
3 changed files with 27 additions and 28 deletions

View File

@@ -9,7 +9,7 @@
></HiddenInput>
</div>
<div class="mb-3">
<label for="heiioncall-trigger-id" class="form-label">{{ $t("Trigger ID") }}<span
<label for="heiioncall-trigger-id" class="form-label">Trigger ID<span
style="color: red;"
><sup>*</sup></span></label>
<HiddenInput
@@ -17,11 +17,9 @@
autocomplete="false"
></HiddenInput>
</div>
<div class="form-text">
<i18n-t tag="p" keypath="wayToGetHeiiOnCallDetails" style="margin-top: 8px;">
<a href="https://heiioncall.com/docs" target="_blank">{{ $t("documentationOf", ["Heii On-Call"]) }}</a>
</i18n-t>
</div>
<i18n-t tag="p" keypath="wayToGetHeiiOnCallDetails" class="form-text mt-3">
<a href="https://heiioncall.com/docs" target="_blank">{{ $t("documentationOf", ["Heii On-Call"]) }}</a>
</i18n-t>
</template>
<script>

View File

@@ -884,6 +884,6 @@
"GrafanaOncallUrl": "Grafana Oncall URL",
"Browser Screenshot": "Browser Screenshot",
"What is a Remote Browser?": "What is a Remote Browser?",
"Trigger ID": "Trigger ID",
"wayToGetHeiiOnCallDetails": "How to get the Tigger ID and API Keys is explained in the {documentation}"
"wayToGetHeiiOnCallDetails": "How to get the Tigger ID and API Keys is explained in the {0}",
"documentationOf": "{0} Documentation"
}