fix: Separate stopped container status lines (#1367)

This commit is contained in:
Kroese
2026-08-10 07:23:35 +02:00
committed by GitHub
parent 6f69eb5c68
commit c355cbe5dc
+4 -2
View File
@@ -512,9 +512,11 @@ function setError(text) {
function setStopped() {
var msg = stopped;
var msg = "<span style=\"display:block\">" + stopped + "</span>";
msg += "<span style=\"display:block; margin-top:1em\">Check the container logs for more details.</span>";
if (lastStatus.length > 0) {
msg += "<br>(Last status: " + escapeContent(lastStatus) + ")";
msg += "<span style=\"display:block; margin-top:1em\">(Last status: " + escapeContent(lastStatus) + ")</span>";
}
return setError(msg);