aboutsummaryrefslogtreecommitdiff
path: root/internal/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates')
-rw-r--r--internal/web/templates/settings.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/internal/web/templates/settings.html b/internal/web/templates/settings.html
index 8e18278..cb753ae 100644
--- a/internal/web/templates/settings.html
+++ b/internal/web/templates/settings.html
@@ -67,11 +67,10 @@
</select>
</label>
- <div class="row">
- {{.L.WebVersions}}
- {{range .VersionOpts}}<label><input type="checkbox" name="versions" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label>{{end}}
- </div>
-
+ {{/* The terminal compare set (config "versions") is intentionally NOT here:
+ it only affects the CLI, so editing it from the web is pointless and
+ confusing. settingsPost preserves it. This page keeps only the web's
+ own defaults: the single default_version and the web_versions ticks. */}}
<div class="row">
{{.L.WebWebVersions}}
{{range .WebVersionOpts}}<label><input type="checkbox" name="web_versions" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label>{{end}}