Skip to content

Commit

Permalink
Fix linebreaks (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Mar 5, 2022
1 parent ffe1e8f commit 94504f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
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

0 comments on commit 94504f0

Please sign in to comment.