LP1724008: Hide User@workstation when screen is narrow
authorJason Boyer <JBoyer@equinoxOLI.org>
Tue, 1 Mar 2022 19:34:55 +0000 (14:34 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 24 Mar 2022 17:07:16 +0000 (13:07 -0400)
As an intermediate step between the "full" navbar and the
collapsed navbar we hide the username and workstation of
the current user. This helps prevent the wrapping that can
cause the navbar to cover some of the page.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: rfrasur <rfrasur@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Open-ILS/src/templates/staff/navbar.tt2

index f6e52f5..3a66c3d 100644 (file)
 
     <!-- entries along the right side of the navbar -->
     <ul class="nav navbar-nav navbar-right" style='margin-right: 6px;'>
-      <li>
+      <li class="hidden-sm">
         <a ng-cloak ng-show="username" title="{{currentToken()}}"
           ng-init="workstation = '[% l('<no workstation>') %]'">
             {{username}} @ {{workstation}}