package popup import "strconv" import "fmt" import "git.haelnorr.com/h/golib/notify" // ErrorModalWS displays a WebSocket-triggered error modal // Matches design of error page (page.ErrorWithDetails) templ ErrorModalWS(code int, stacktrace string, nt notify.Notification, id int) {
{ nt.Title }
{ nt.Message }
if stacktrace != "" {{ stacktrace }