mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-04 08:25:57 +00:00
tls: pages: Make keyword optional for the TLS monitor; update description
This commit is contained in:
parent
00c0563d55
commit
94d04f7cc2
2 changed files with 2 additions and 2 deletions
|
@ -588,7 +588,7 @@
|
|||
"atLeastOneMonitor": "Select at least one affected monitor",
|
||||
"passwordNotMatchMsg": "The repeat password does not match.",
|
||||
"notificationDescription": "Notifications must be assigned to a monitor to function.",
|
||||
"keywordDescription": "Search keyword in plain HTML or JSON response. The search is case-sensitive.",
|
||||
"keywordDescription": "Search keyword in plain HTML, JSON, or raw response. The search is case-sensitive.",
|
||||
"invertKeywordDescription": "Look for the keyword to be absent rather than present.",
|
||||
"tcpRequestDescription": "Request sent to the server after establishing the connection. Trailing newlines may be required. JavaScript escape sequences are allowed.",
|
||||
"tcpStartTlsDescription": "Start unencrypted and upgrade connection using STARTTLS. Relevant documentation: {rfc2595}, {rfc3207}",
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
<!-- Keyword -->
|
||||
<div v-if="monitor.type === 'keyword' || monitor.type === 'grpc-keyword' || monitor.type === 'port-tls'" class="my-3">
|
||||
<label for="keyword" class="form-label">{{ $t("Keyword") }}</label>
|
||||
<input id="keyword" v-model="monitor.keyword" type="text" class="form-control" required>
|
||||
<input id="keyword" v-model="monitor.keyword" type="text" class="form-control" :required="monitor.type !== 'port-tls'">
|
||||
<div class="form-text">
|
||||
{{ $t("keywordDescription") }}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue