mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Use middle dot 00B7 as separator (#25336)
This commit is contained in:
parent
38a5035d68
commit
1aa1bfda2c
@ -603,7 +603,7 @@ export class HaDataTable extends LitElement {
|
|||||||
.map(
|
.map(
|
||||||
([key2, column2], i) =>
|
([key2, column2], i) =>
|
||||||
html`${i !== 0
|
html`${i !== 0
|
||||||
? " ⸱ "
|
? " · "
|
||||||
: nothing}${column2.template
|
: nothing}${column2.template
|
||||||
? column2.template(row)
|
? column2.template(row)
|
||||||
: row[key2]}`
|
: row[key2]}`
|
||||||
|
@ -57,7 +57,7 @@ class MoreInfoCover extends LitElement {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (positionStateDisplay) {
|
if (positionStateDisplay) {
|
||||||
return `${stateDisplay} ⸱ ${positionStateDisplay}`;
|
return `${stateDisplay} · ${positionStateDisplay}`;
|
||||||
}
|
}
|
||||||
return stateDisplay;
|
return stateDisplay;
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@ class MoreInfoValve extends LitElement {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (positionStateDisplay) {
|
if (positionStateDisplay) {
|
||||||
return `${stateDisplay} ⸱ ${positionStateDisplay}`;
|
return `${stateDisplay} · ${positionStateDisplay}`;
|
||||||
}
|
}
|
||||||
return stateDisplay;
|
return stateDisplay;
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ class HaBackupConfigAgents extends LitElement {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return join(texts, html`<span class="separator"> ⸱ </span>`);
|
return join(texts, html`<span class="separator"> · </span>`);
|
||||||
}
|
}
|
||||||
|
|
||||||
private _availableAgents = memoizeOne(
|
private _availableAgents = memoizeOne(
|
||||||
|
@ -156,7 +156,7 @@ class HaConfigInfo extends LitElement {
|
|||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
<span class="version">
|
<span class="version">
|
||||||
${JS_VERSION}${JS_TYPE !== "modern" ? ` ⸱ ${JS_TYPE}` : ""}
|
${JS_VERSION}${JS_TYPE !== "modern" ? ` · ${JS_TYPE}` : ""}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -70,7 +70,7 @@ class DownloadLogsDialog extends LitElement {
|
|||||||
<span slot="subtitle">
|
<span slot="subtitle">
|
||||||
${this._dialogParams.header}${this._dialogParams.boot === 0
|
${this._dialogParams.header}${this._dialogParams.boot === 0
|
||||||
? ""
|
? ""
|
||||||
: ` ⸱ ${this._dialogParams.boot === -1 ? this.hass.localize("ui.panel.config.logs.previous") : this.hass.localize("ui.panel.config.logs.startups_ago", { boot: this._dialogParams.boot * -1 })}`}
|
: ` · ${this._dialogParams.boot === -1 ? this.hass.localize("ui.panel.config.logs.previous") : this.hass.localize("ui.panel.config.logs.startups_ago", { boot: this._dialogParams.boot * -1 })}`}
|
||||||
</span>
|
</span>
|
||||||
</ha-dialog-header>
|
</ha-dialog-header>
|
||||||
<div slot="content" class="content">
|
<div slot="content" class="content">
|
||||||
|
@ -20,7 +20,7 @@ class DialogRepairsIssueSubtitle extends LitElement {
|
|||||||
protected render() {
|
protected render() {
|
||||||
const domainName = domainToName(this.hass.localize, this.issue.domain);
|
const domainName = domainToName(this.hass.localize, this.issue.domain);
|
||||||
const reportedBy = domainName
|
const reportedBy = domainName
|
||||||
? ` ⸱ ${this.hass.localize("ui.panel.config.repairs.reported_by", {
|
? ` · ${this.hass.localize("ui.panel.config.repairs.reported_by", {
|
||||||
integration: domainName,
|
integration: domainName,
|
||||||
})}`
|
})}`
|
||||||
: "";
|
: "";
|
||||||
|
@ -100,13 +100,13 @@ class HaConfigRepairs extends LitElement {
|
|||||||
${(issue.severity === "critical" ||
|
${(issue.severity === "critical" ||
|
||||||
issue.severity === "error") &&
|
issue.severity === "error") &&
|
||||||
issue.created
|
issue.created
|
||||||
? " ⸱ "
|
? " · "
|
||||||
: ""}
|
: ""}
|
||||||
${createdBy
|
${createdBy
|
||||||
? html`<span .title=${createdBy}>${createdBy}</span>`
|
? html`<span .title=${createdBy}>${createdBy}</span>`
|
||||||
: nothing}
|
: nothing}
|
||||||
${issue.ignored
|
${issue.ignored
|
||||||
? ` ⸱ ${this.hass.localize(
|
? ` · ${this.hass.localize(
|
||||||
"ui.panel.config.repairs.dialog.ignored_in_version_short",
|
"ui.panel.config.repairs.dialog.ignored_in_version_short",
|
||||||
{ version: issue.dismissed_version }
|
{ version: issue.dismissed_version }
|
||||||
)}`
|
)}`
|
||||||
|
@ -366,7 +366,7 @@ export class HaStateControlClimateTemperature extends LitElement {
|
|||||||
>
|
>
|
||||||
${this._renderTarget(this._targetTemperature.low!, "normal", true)}
|
${this._renderTarget(this._targetTemperature.low!, "normal", true)}
|
||||||
</button>
|
</button>
|
||||||
<span>⸱</span>
|
<span>·</span>
|
||||||
<button
|
<button
|
||||||
@click=${this._handleSelectTemp}
|
@click=${this._handleSelectTemp}
|
||||||
.target=${"high"}
|
.target=${"high"}
|
||||||
|
@ -183,7 +183,7 @@ class StateDisplay extends LitElement {
|
|||||||
return html`${this.hass!.formatEntityState(stateObj)}`;
|
return html`${this.hass!.formatEntityState(stateObj)}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return join(values, " ⸱ ");
|
return join(values, " · ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user