Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linebreaks #568

Merged
merged 1 commit into from
Mar 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/dialogs/hacs-download-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ export class HacsDonwloadDialog extends HacsDialogBase {
if (this._repository.category === "plugin" && this.hacs.status.lovelace_mode === "storage") {
showConfirmationDialog(this, {
title: this.hacs.localize!("common.reload"),
text: html`${this.hacs.localize!("dialog.reload.description")}</br>${this.hacs.localize!(
"dialog.reload.confirm"
)}`,
text: html`${this.hacs.localize!("dialog.reload.description")}<br />${this.hacs.localize!(
"dialog.reload.confirm"
)}`,
dismissText: this.hacs.localize!("common.cancel"),
confirmText: this.hacs.localize!("common.reload"),
confirm: () => {
Expand Down
12 changes: 5 additions & 7 deletions src/components/dialogs/hacs-navigate-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,16 @@ export class HacsNavigateDialog extends HacsDialogBase {
.active=${this.active}
.hass=${this.hass}
title="Navigating away from HACS"
>
>
<div class="content">
This takes you away from HACS and to another page, what you see on that page is not a part
of HACS.
</br></br>
Redirect will happen automatically in 10 seconds, if you do not want to wait
click the "GO NOW" button.
<br /><br />
Redirect will happen automatically in 10 seconds, if you do not want to wait click the "GO
NOW" button.
</div>
<mwc-linear-progress .progress=${this._progress}></mwc-linear-progress>
<mwc-button slot="primaryaction" @click=${this._navigate}>
Go now
</mwc-button>
<mwc-button slot="primaryaction" @click=${this._navigate}> Go now </mwc-button>
</hacs-dialog>
`;
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/dialogs/hacs-update-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ export class HacsUpdateDialog extends HacsDialogBase {
if (repository.category === "plugin") {
showConfirmationDialog(this, {
title: this.hacs.localize!("common.reload"),
text: html`${this.hacs.localize!("dialog.reload.description")}</br>${this.hacs.localize!(
"dialog.reload.confirm"
)}`,
text: html`${this.hacs.localize!("dialog.reload.description")}<br />${this.hacs.localize!(
"dialog.reload.confirm"
)}`,
dismissText: this.hacs.localize!("common.cancel"),
confirmText: this.hacs.localize!("common.reload"),
confirm: () => {
Expand Down