diff options
author | Mario <mario@mariovavti.com> | 2023-09-21 08:31:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-09-21 08:31:53 +0000 |
commit | 601ee0b40b4de7a27cb72341c058124d6f19a1f5 (patch) | |
tree | 447dc37ca283773624032f35ebb4b40dfc5780fb /view | |
parent | 9627c3e7c850b3532c3840910c0862f093cd8fb1 (diff) | |
download | volse-hubzilla-601ee0b40b4de7a27cb72341c058124d6f19a1f5.tar.gz volse-hubzilla-601ee0b40b4de7a27cb72341c058124d6f19a1f5.tar.bz2 volse-hubzilla-601ee0b40b4de7a27cb72341c058124d6f19a1f5.zip |
only show theme switch icon if switching is supported by the theme
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/navbar_default.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index ed243c103..d8b8e2f74 100644 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -195,7 +195,9 @@ <i id="app-bin-trash" class="fa fa-2x fa-fw fa-trash-o d-none"></i> {{/if}} <div class="hstack gap-1"> + {{if $theme_switch_icon}} <button id="theme-switch" type="button" class="btn btn-outline-secondary border-0"><i id="theme-switch-icon" class="fa fa-{{$theme_switch_icon}}-o"></i></button> + {{/if}} <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button> </div> |