mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +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`
|
||||
<hass-tabs-subpage-data-table
|
||||
tabs=${[
|
||||
{
|
||||
translationKey: "ui.panel.config.backup.caption",
|
||||
path: `/config/backup`,
|
||||
},
|
||||
]}
|
||||
.hass=${this.hass}
|
||||
.narrow=${this.narrow}
|
||||
back-path="/config/system"
|
||||
@ -133,10 +139,10 @@ class HaConfigBackup extends LitElement {
|
||||
.columns=${this._columns(this.narrow, this.hass.language)}
|
||||
.data=${this._getItems(this._backupData.backups)}
|
||||
.noDataText=${this.hass.localize("ui.panel.config.backup.no_backups")}
|
||||
.searchLabel=${this.hass.localize(
|
||||
"ui.panel.config.backup.picker.search"
|
||||
)}
|
||||
>
|
||||
<span slot="header"
|
||||
>${this.hass.localize("ui.panel.config.backup.caption")}</span
|
||||
>
|
||||
<ha-fab
|
||||
slot="fab"
|
||||
?disabled=${this._backupData.backing_up}
|
||||
|
@ -1236,6 +1236,9 @@
|
||||
"title": "Remove backup",
|
||||
"description": "Are you sure you want to remove the backup with the name {name}?",
|
||||
"confirm": "[%key:ui::common::remove%]"
|
||||
},
|
||||
"picker": {
|
||||
"search": "Search backups"
|
||||
}
|
||||
},
|
||||
"tag": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user