mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-18 23:34:04 +02:00
Update src/pages/StatusPage.vue
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
59043fb2b8
commit
0439566164
1 changed files with 5 additions and 2 deletions
|
@ -45,8 +45,11 @@
|
|||
<div class="my-3">
|
||||
<label for="heartbeat-bar-days" class="form-label">{{ $t("Heartbeat Bar Days") }}</label>
|
||||
<input id="heartbeat-bar-days" v-model.number="config.heartbeatBarDays" type="number" class="form-control" min="0" max="365" data-testid="heartbeat-bar-days-input">
|
||||
<div class="form-text">
|
||||
{{ $t("Number of days of heartbeat history to show (0 = auto)") }}
|
||||
<div class="form-text" v-if="config.heartbeatBarDays === 0">
|
||||
{{ $t("Status page will show last beats", [100]) }}
|
||||
</div>
|
||||
<div class="form-text" v-else>
|
||||
{{ $t("Status page shows heartbeat history days", [config.heartbeatBarDays]) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue