Skip to content

Commit

Permalink
fix new lines on restart/shutdown modal
Browse files Browse the repository at this point in the history
  • Loading branch information
CaCO3 committed May 3, 2024
1 parent 70e01bb commit dfeb164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/management.html
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ <h5 class="modal-title" data-i18n="tools.nvserase.title"></h5>
});
tryRedirect();
$('.modal-title').text(i18next.t("restart"));
$('.modal-body').text(i18next.t("restartinfo"));
$('.modal-body').html(i18next.t("restartinfo"));
$(".modal-body").removeAttr("style");
new bootstrap.Modal(document.getElementById('modalInfo')).toggle();
} /* restart */
Expand All @@ -1267,7 +1267,7 @@ <h5 class="modal-title" data-i18n="tools.nvserase.title"></h5>
method: "POST"
});
$('.modal-title').text(i18next.t("shutdown"));
$('.modal-body').text(i18next.t("shutdowninfo"));
$('.modal-body').html(i18next.t("shutdowninfo"));
$(".modal-body").removeAttr("style");
new bootstrap.Modal(document.getElementById('modalInfo')).toggle();
setTimeout(function() {
Expand Down

0 comments on commit dfeb164

Please sign in to comment.