From 4c65d34741eb86ad1dc9d28165728e5fabf61b7f Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 15 Jan 2019 16:37:25 -0800 Subject: [PATCH] ui: Hide restart/shutdown items when navbar is collapsed - Keep unimportant items hidden on small screens. - Remove dividers that cause confusion. - Avoid a scrollbar inside the menu when user menu is expanded. Bootstrap intended to show exactly 8 menu items. Fixes #1431. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Joseph Nuthalapati --- plinth/templates/base.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plinth/templates/base.html b/plinth/templates/base.html index 25c304147..3c6e528bc 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -170,21 +170,21 @@ {% trans "Change password" %} -
  • + {% if user_is_admin %} -
  • +
  • -
  • +
  • -
  • + {% endif %}