Тест DEPO: строки бумаг — список из кода (slice в шаблоне ломал форму)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
zuevav
2026-09-24 12:10:28 +03:00
parent 627f52cf5d
commit d964bdb005
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -363,9 +363,10 @@ func registerDepoTest(mux *http.ServeMux, a *admin) {
DB string
JobMode string
Flash string
Rows []string
}{nowPage("Тестирование DEPO", "depotest"), clients, secs, parts, codes,
append([]struct{ Code, Title string }(nil), depoTestOutcomes...), runs, running,
fs.Server + " / " + fs.DepoDB(), fs.DepoJobMode, r.URL.Query().Get("flash")}
fs.Server + " / " + fs.DepoDB(), fs.DepoJobMode, r.URL.Query().Get("flash"), []string{"1", "2", "3", "4", "5"}}
render(w, a.depoTest, data)
})
mux.HandleFunc("/admin/depo-test/run", func(w http.ResponseWriter, r *http.Request) {