diff --git a/internal/lkgateway/web/templates/part_keywiz.html b/internal/lkgateway/web/templates/part_keywiz.html index bd480b5..ca7ecee 100644 --- a/internal/lkgateway/web/templates/part_keywiz.html +++ b/internal/lkgateway/web/templates/part_keywiz.html @@ -137,9 +137,13 @@ onsubmit="this.querySelector('button[type=submit]').disabled=true;this.querySelector('button[type=submit]').textContent='Подключаю… (до пары минут)';"> {{template "keyWizRet" .}} -
- - {{$c := .SuggestContour}}{{if not $c}}{{$c = .WantContour}}{{end}}{{if not $c}}{{$c = currentContour}}{{end}} + {{$c := .SuggestContour}}{{if not $c}}{{$c = .WantContour}}{{end}}{{if not $c}}{{$c = currentContour}}{{end}} + {{if .WantContour}} +

Контур НРД: {{if eq .WantContour "prod"}}Боевой{{else}}Тестовый TEST3{{end}} — выбран в мастере{{if and .SuggestContour (ne .SuggestContour .WantContour)}}
⚠ по сертификату ключ похож на {{if eq .SuggestContour "test3"}}тестовый{{else}}боевой{{end}} — проверьте выбор{{end}} +

+ {{end}} +
+ {{if not .WantContour}}{{end}} {{if .SuggestIssuer}}

Сертификат от «{{.SuggestIssuer}}» — это {{if eq .SuggestContour "test3"}}тестовый{{else}}боевой{{end}} контур.

{{end}}