mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Backup text updates (#23437)
* Backup text updates * Update ha-config-backup-backups.ts
This commit is contained in:
parent
44423812f4
commit
657bfc82ca
@ -129,9 +129,6 @@ class HaBackupConfigSchedule extends LitElement {
|
|||||||
<ha-md-list>
|
<ha-md-list>
|
||||||
<ha-md-list-item>
|
<ha-md-list-item>
|
||||||
<span slot="headline">Use automatic backups</span>
|
<span slot="headline">Use automatic backups</span>
|
||||||
<span slot="supporting-text">
|
|
||||||
How often you want to create a backup.
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<ha-switch
|
<ha-switch
|
||||||
slot="end"
|
slot="end"
|
||||||
@ -181,7 +178,8 @@ class HaBackupConfigSchedule extends LitElement {
|
|||||||
<ha-md-list-item>
|
<ha-md-list-item>
|
||||||
<span slot="headline">Backups to keep</span>
|
<span slot="headline">Backups to keep</span>
|
||||||
<span slot="supporting-text">
|
<span slot="supporting-text">
|
||||||
The number of backups that are saved
|
Based on the maximum number of backups or how many days they
|
||||||
|
should be kept.
|
||||||
</span>
|
</span>
|
||||||
<ha-md-select
|
<ha-md-select
|
||||||
slot="end"
|
slot="end"
|
||||||
|
@ -327,12 +327,6 @@ class DialogBackupOnboarding extends LitElement implements HassDialog {
|
|||||||
`;
|
`;
|
||||||
case "setup":
|
case "setup":
|
||||||
return html`
|
return html`
|
||||||
<p>
|
|
||||||
It is recommended that you create a backup every day. You should
|
|
||||||
keep three backups in at least two different locations, one of which
|
|
||||||
should be off-site. Once you make your selection, your first backup
|
|
||||||
will begin.
|
|
||||||
</p>
|
|
||||||
<ha-md-list class="full">
|
<ha-md-list class="full">
|
||||||
<ha-md-list-item type="button" @click=${this._done}>
|
<ha-md-list-item type="button" @click=${this._done}>
|
||||||
<span slot="headline">Recommended settings</span>
|
<span slot="headline">Recommended settings</span>
|
||||||
|
@ -167,7 +167,6 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
|||||||
title: "Locations",
|
title: "Locations",
|
||||||
showNarrow: true,
|
showNarrow: true,
|
||||||
minWidth: "60px",
|
minWidth: "60px",
|
||||||
maxWidth: "120px",
|
|
||||||
template: (backup) => html`
|
template: (backup) => html`
|
||||||
<div style="display: flex; gap: 4px;">
|
<div style="display: flex; gap: 4px;">
|
||||||
${(backup.agent_ids || []).map((agentId) => {
|
${(backup.agent_ids || []).map((agentId) => {
|
||||||
@ -181,7 +180,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
|||||||
<ha-svg-icon
|
<ha-svg-icon
|
||||||
.path=${mdiHarddisk}
|
.path=${mdiHarddisk}
|
||||||
title=${name}
|
title=${name}
|
||||||
slot="graphic"
|
style="flex-shrink: 0;"
|
||||||
></ha-svg-icon>
|
></ha-svg-icon>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
@ -190,7 +189,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
|||||||
<ha-svg-icon
|
<ha-svg-icon
|
||||||
.path=${mdiNas}
|
.path=${mdiNas}
|
||||||
title=${name}
|
title=${name}
|
||||||
slot="graphic"
|
style="flex-shrink: 0;"
|
||||||
></ha-svg-icon>
|
></ha-svg-icon>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
@ -209,6 +208,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
|||||||
referrerpolicy="no-referrer"
|
referrerpolicy="no-referrer"
|
||||||
alt=${name}
|
alt=${name}
|
||||||
slot="graphic"
|
slot="graphic"
|
||||||
|
style="flex-shrink: 0;"
|
||||||
/>
|
/>
|
||||||
`;
|
`;
|
||||||
})}
|
})}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user