mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Hoist integration card tooltips (#25679)
This commit is contained in:
parent
1483e8e38f
commit
7dc4d555ae
@ -163,6 +163,7 @@ export class HaIntegrationCard extends LitElement {
|
|||||||
: "custom"}"
|
: "custom"}"
|
||||||
>
|
>
|
||||||
<ha-tooltip
|
<ha-tooltip
|
||||||
|
hoist
|
||||||
.placement=${computeRTL(this.hass) ? "right" : "left"}
|
.placement=${computeRTL(this.hass) ? "right" : "left"}
|
||||||
.content=${this.hass.localize(
|
.content=${this.hass.localize(
|
||||||
this.manifest.overwrites_built_in
|
this.manifest.overwrites_built_in
|
||||||
@ -177,6 +178,7 @@ export class HaIntegrationCard extends LitElement {
|
|||||||
${this.manifest && this.manifest.iot_class?.startsWith("cloud_")
|
${this.manifest && this.manifest.iot_class?.startsWith("cloud_")
|
||||||
? html`<div class="icon cloud">
|
? html`<div class="icon cloud">
|
||||||
<ha-tooltip
|
<ha-tooltip
|
||||||
|
hoist
|
||||||
.placement=${computeRTL(this.hass) ? "right" : "left"}
|
.placement=${computeRTL(this.hass) ? "right" : "left"}
|
||||||
.content=${this.hass.localize(
|
.content=${this.hass.localize(
|
||||||
"ui.panel.config.integrations.config_entry.depends_on_cloud"
|
"ui.panel.config.integrations.config_entry.depends_on_cloud"
|
||||||
@ -191,6 +193,7 @@ export class HaIntegrationCard extends LitElement {
|
|||||||
!this.items.every((itm) => itm.source === "system")
|
!this.items.every((itm) => itm.source === "system")
|
||||||
? html`<div class="icon yaml">
|
? html`<div class="icon yaml">
|
||||||
<ha-tooltip
|
<ha-tooltip
|
||||||
|
hoist
|
||||||
.placement=${computeRTL(this.hass) ? "right" : "left"}
|
.placement=${computeRTL(this.hass) ? "right" : "left"}
|
||||||
.content=${this.hass.localize(
|
.content=${this.hass.localize(
|
||||||
"ui.panel.config.integrations.config_entry.no_config_flow"
|
"ui.panel.config.integrations.config_entry.no_config_flow"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user