mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Add title to backups config page (#12442)
This commit is contained in:
parent
d550b1a18e
commit
824bb9ba35
@ -126,6 +126,12 @@ class HaConfigBackup extends LitElement {
|
|||||||
|
|
||||||
return html`
|
return html`
|
||||||
<hass-tabs-subpage-data-table
|
<hass-tabs-subpage-data-table
|
||||||
|
tabs=${[
|
||||||
|
{
|
||||||
|
translationKey: "ui.panel.config.backup.caption",
|
||||||
|
path: `/config/backup`,
|
||||||
|
},
|
||||||
|
]}
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.narrow=${this.narrow}
|
.narrow=${this.narrow}
|
||||||
back-path="/config/system"
|
back-path="/config/system"
|
||||||
@ -133,9 +139,9 @@ class HaConfigBackup extends LitElement {
|
|||||||
.columns=${this._columns(this.narrow, this.hass.language)}
|
.columns=${this._columns(this.narrow, this.hass.language)}
|
||||||
.data=${this._getItems(this._backupData.backups)}
|
.data=${this._getItems(this._backupData.backups)}
|
||||||
.noDataText=${this.hass.localize("ui.panel.config.backup.no_backups")}
|
.noDataText=${this.hass.localize("ui.panel.config.backup.no_backups")}
|
||||||
>
|
.searchLabel=${this.hass.localize(
|
||||||
<span slot="header"
|
"ui.panel.config.backup.picker.search"
|
||||||
>${this.hass.localize("ui.panel.config.backup.caption")}</span
|
)}
|
||||||
>
|
>
|
||||||
<ha-fab
|
<ha-fab
|
||||||
slot="fab"
|
slot="fab"
|
||||||
|
@ -1236,6 +1236,9 @@
|
|||||||
"title": "Remove backup",
|
"title": "Remove backup",
|
||||||
"description": "Are you sure you want to remove the backup with the name {name}?",
|
"description": "Are you sure you want to remove the backup with the name {name}?",
|
||||||
"confirm": "[%key:ui::common::remove%]"
|
"confirm": "[%key:ui::common::remove%]"
|
||||||
|
},
|
||||||
|
"picker": {
|
||||||
|
"search": "Search backups"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tag": {
|
"tag": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user