| commit | 90606b60dcd9189fd9b1eb476396c2b40606c096 | [log] [tgz] |
|---|---|---|
| author | gio <gio@v1.dodo.cloud> | Tue May 21 14:45:51 2024 +0400 |
| committer | gio <gio@v1.dodo.cloud> | Tue May 21 14:45:51 2024 +0400 |
| tree | de8cc0293c05e43337eeec0cbc1fcfa26f2e19be | |
| parent | cf6c714933f80ef878e133ddfd9a383e63605c04 [diff] |
Launcher: only render Help button when help documents actually exist Change-Id: If288e8bf40425d421a43ee4dd0e84136e44ddf9a
diff --git a/core/installer/welcome/launcher-tmpl/launcher.html b/core/installer/welcome/launcher-tmpl/launcher.html index 30971a6..9b243fd 100644 --- a/core/installer/welcome/launcher-tmpl/launcher.html +++ b/core/installer/welcome/launcher-tmpl/launcher.html
@@ -27,7 +27,9 @@ </div> <div class="tooltip"> <p>{{ .Name }}</p> + {{ if .Help }} <button class="help-button" id="help-button-{{ CleanAppName .Name }}">Help</button> + {{ end }} </div> </div> <dialog class="app-help-modal" id="modal-{{ CleanAppName .Name }}" close>