From 0a7772865220139113e39c74dd1415a02b46e32a Mon Sep 17 00:00:00 2001 From: Phi Dong Date: Sat, 19 Oct 2019 05:24:28 -0700 Subject: [PATCH] Move Home Assistant and version on info page into h2 (#4061) --- .../info/developer-tools-info.ts | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) mode change 100644 => 100755 src/panels/developer-tools/info/developer-tools-info.ts diff --git a/src/panels/developer-tools/info/developer-tools-info.ts b/src/panels/developer-tools/info/developer-tools-info.ts old mode 100644 new mode 100755 index 03328ee90c..dbeef30367 --- a/src/panels/developer-tools/info/developer-tools-info.ts +++ b/src/panels/developer-tools/info/developer-tools-info.ts @@ -48,8 +48,7 @@ class HaPanelDevInfo extends LitElement { alt="Home Assistant logo" />
- Home Assistant
- ${hass.config.version} +

Home Assistant ${hass.config.version}

Path to configuration.yaml: ${hass.config.config_dir} @@ -92,21 +91,23 @@ class HaPanelDevInfo extends LitElement {

Frontend version: ${JS_VERSION} - ${JS_TYPE} - ${customUiList.length > 0 - ? html` -

- Custom UIs: - ${customUiList.map( - (item) => html` -
- ${item.name}: - ${item.version} -
- ` - )} -
- ` - : ""} + ${ + customUiList.length > 0 + ? html` +
+ Custom UIs: + ${customUiList.map( + (item) => html` +
+ ${item.name}: ${item.version} +
+ ` + )} +
+ ` + : "" + }

${nonDefaultLinkText}