diff options
Diffstat (limited to 'internal/web/templates')
| -rw-r--r-- | internal/web/templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index 26854a8..5dbe7da 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -33,14 +33,14 @@ </span> <label>{{.L.Lectionary}} - <select name="lectionary"> + <select name="lectionary" onchange="var b=document.getElementById('ver-bt');if(b)b.style.display=this.value==='traditional'?'none':'';"> <option value="new" {{if eq .Lectionary "new"}}selected{{end}}>{{.L.OptModern}}</option> <option value="traditional" {{if eq .Lectionary "traditional"}}selected{{end}}>{{.L.OptTraditional}}</option> </select> </label> {{range .VersionOpts}} - <label><input type="checkbox" name="v" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label> + <label id="ver-{{.Code}}"{{if and (eq .Code "bt") (eq $.Lectionary "traditional")}} style="display:none"{{end}}><input type="checkbox" name="v" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label> {{end}} <label>{{.L.Parts}} |
