LP#1710991: Do not translate username and workstation in webclient navbar user/bshum/lp1710991-fix
authorBen Shum <ben@evergreener.net>
Tue, 15 Aug 2017 22:43:09 +0000 (18:43 -0400)
committerBen Shum <ben@evergreener.net>
Tue, 15 Aug 2017 22:43:09 +0000 (18:43 -0400)
In the web client's navbar, do not translate username and workstation. This
causes errors with rendering the menus if other locales translate the
variables.

Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/staff/navbar.tt2

index ba99321..adf616b 100644 (file)
       <li>
         <a ng-cloak ng-show="username" title="{{currentToken()}}"
           ng-init="workstation = '[% l('<no workstation>') %]'">
-            [% l('{{username}} @ {{workstation}}') %]
+            {{username}} @ {{workstation}}
         </a>
       </li>