commit | dc0b3ab33904a72a1abc71b5a5069787fb0f92d0 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Fri Jun 18 11:52:43 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Fri Jun 18 12:02:26 2021 +0200 |
tree | 2ab28843a8f125f21816a025db788926bf911d87 | |
parent | 5f756418b589c582d40c22b0cd0d14938ead1ada [diff] [blame] |
Show settings only on demand Change-Id: Ib9f639613bbffdfa987f7e6b60c556fe3f3deeb4
diff --git a/templates/partial/side.html.ep b/templates/partial/side.html.ep index 950339c..a8deb0e 100644 --- a/templates/partial/side.html.ep +++ b/templates/partial/side.html.ep
@@ -9,10 +9,12 @@ % }; % } -% unless (length($side_bar) > 1) { +% if (length($side_bar) == 0) { % $classes .= ' off'; % } elsif (stash('sidebar_active')) { % $classes .= ' active'; +% } elsif (stash('login_active') && !$classes) { +% $classes .= ' active'; % };