Мастер без лицензии учёта: глава 2 называется «Организация», подзаголовок мастера собирается из глав этой установки; в шапке «НРД не подключён» вместо «Нет связи с НРД», пока обмен не настроен

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi
This commit is contained in:
zuevav
2026-10-05 19:07:41 +03:00
parent ba1aae705d
commit 79d20bc2cf
5 changed files with 33 additions and 2 deletions
+2
View File
@@ -187,6 +187,7 @@ type WizardData struct {
StepRequired bool
StepTitle string
ChapterTitle string
ChaptersLine string // «Четыре главы: сервер, организация, НРД, запуск.»
Modules []WizModule // глава «Запуск»: модули по лицензии
Done struct {
License bool
@@ -289,6 +290,7 @@ func (h *setupHandlers) renderWizard(w http.ResponseWriter, r *http.Request) {
d.ChapterTitle = c.Title
}
}
d.ChaptersLine = wizChaptersLine(d.Chapters)
if done[2] {
d.AutoDone = append(d.AutoDone, "База bj создана установщиком"+pickStr(" — "+d.PGSummary, ""))
}