Bugzilla – Attachment 116847 Details for
Bug 27699
Add cash register information to responsive staff interface header menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27699: Add register information to responsive staff interface header menu
Bug-27699-Add-register-information-to-responsive-s.patch (text/plain), 2.21 KB, created by
Owen Leonard
on 2021-02-12 20:00:04 UTC
(
hide
)
Description:
Bug 27699: Add register information to responsive staff interface header menu
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-02-12 20:00:04 UTC
Size:
2.21 KB
patch
obsolete
>From 3e2eab46c259445ebbbf0df6df73600437c1b974 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 12 Feb 2021 19:34:05 +0000 >Subject: [PATCH] Bug 27699: Add register information to responsive staff > interface header menu > >This patch adds register information to the version of the header menu >shown when the browser width is narrower. > >To test, apply the patch and enable the UseCashRegisters system >preference. > >- If necessary, create at least one cash register for your library under > Administration -> Cash registers. >- From any page in the staff interface you should see a menu in the > header showing your username and logged-in branch. >- Expand the menu and choose "Set library, desk and register." >- Select a cash register and save. >- The cash register information should now appear in the header menu. >- Narrow the width of the browser until the menu collapses and shows > only a user icon. >- When you expand this version of the menu you should see the > currently-suggested register. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >index 12deaa80ee..754ac0d294 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >@@ -141,6 +141,14 @@ > </li> > [% END %] > >+ [% IF Koha.Preference('UseCashRegisters') && !(Registers.session_register_name == '') %] >+ <li class="loggedin-menu-label"> >+ Register: <br /> >+ <span class="logged-in-register-name">[% Registers.session_register_name | html %]</span> >+ <span class="logged-in-register-id content_hidden">[% Registers.session_register_id | html %]</span> >+ </li> >+ [% END %] >+ > [% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %] > <li role="separator" class="loggedin-menu-label divider"></li> > <li> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27699
:
116847
|
117122
|
117725