Show manage cloud link to config (#12673)

This commit is contained in:
Zack Barett 2022-05-17 05:14:43 -05:00 committed by GitHub
parent ba27c184f6
commit 6f67da09c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -154,7 +154,16 @@ class ConfigUrlForm extends LitElement {
${!this._showCustomExternalUrl && hasCloud
? html`
${remoteEnabled
? ""
? html`
<div class="row">
<div class="flex"></div>
<a href="/config/cloud"
>${this.hass.localize(
"ui.panel.config.url.manage_ha_cloud"
)}</a
>
</div>
`
: html`
<ha-alert alert-type="error">
${this.hass.localize(

View File

@ -1529,6 +1529,7 @@
"internal_url_label": "Local Network",
"external_url_label": "Internet",
"external_use_ha_cloud": "Use Home Assistant Cloud",
"manage_ha_cloud": "Manage Home Assistant Cloud",
"external_get_ha_cloud": "Access from anywhere, add Google & Alexa easily",
"ha_cloud_remote_not_enabled": "Your Home Assistant Cloud remote connection is currently not enabled.",
"enable_remote": "[%key:ui::common::enable%]",