LP1724008: Hide User@workstation when screen is narrow
authorJason Boyer <JBoyer@equinoxOLI.org>
Tue, 1 Mar 2022 19:34:55 +0000 (14:34 -0500)
committerJason Boyer <JBoyer@equinoxOLI.org>
Tue, 1 Mar 2022 19:34:55 +0000 (14:34 -0500)
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>
Open-ILS/src/templates/staff/navbar.tt2

index bb0409a..619aed4 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}}