Bugzilla – Attachment 107668 Details for
Bug 24201
Attach desk to intranet session
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24201: (follow-up) Show desk information at lower screen widths
Bug-24201-follow-up-Show-desk-information-at-lower.patch (text/plain), 2.38 KB, created by
Josef Moravec
on 2020-08-03 07:46:04 UTC
(
hide
)
Description:
Bug 24201: (follow-up) Show desk information at lower screen widths
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2020-08-03 07:46:04 UTC
Size:
2.38 KB
patch
obsolete
>From 05b2c788dda58f12f35dbe9d3827a4c42447bde8 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 25 Mar 2020 12:13:10 +0000 >Subject: [PATCH] Bug 24201: (follow-up) Show desk information at lower screen > widths > >The staff client header menu adjusts responsively to narrower viewport >widths, but for the logged-in-user menu this requires showing and hiding >part of the template which duplicates information. This patch adds a >copy of the current desk information to the part of the template shown >at narrower widths. > >To test, apply the patch and view any page in the staff client. > > - Narrow your browser so that the viewport is less than 800px wide. > - The logged-in-user menu should change from text to a single "user" > icon. > - Clicking the icon should display a menu which includes labeled > information about the current desk. > >Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr> >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >index 366209eb5f..f65cd87205 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >@@ -117,6 +117,15 @@ > <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span> > [% END %] > </li> >+ <li class="loggedin-menu-label"> >+ Desk: <br /> >+ [% IF ( LoginDeskname == '' AND Desks.defined ) %] >+ <span class="logged-in-desk-name">NO DESK SET</span> >+ [% ELSIF ( LoginDeskname != '' ) %] >+ <span class="logged-in-desk-name">[% LoginDeskname | html %]</span> >+ <span class="logged-in-desk-id content_hidden">[% Desks.GetLoggedInDeskId | html %]</span> >+ [% END %] >+ </li> > > <li role="separator" class="loggedin-menu-label divider"></li> > [% IF ( IndependentBranches ) %] >-- >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 24201
:
96158
|
96164
|
96165
|
96166
|
101452
|
101564
|
101684
|
101697
|
101704
|
101705
|
101848
|
101865
|
101866
|
101877
|
101878
|
101879
|
101880
|
101881
|
101882
|
101883
|
103839
|
103840
|
105795
|
105869
|
105873
|
105874
|
105875
|
106576
|
107089
|
107090
|
107091
|
107092
|
107093
|
107094
|
107095
|
107096
|
107097
|
107667
| 107668 |
107669
|
107670
|
107671
|
107672
|
107673
|
107674
|
107675
|
107676
|
107677
|
107678
|
107679
|
107680
|
107728
|
107729
|
107730
|
107731
|
107732
|
107750
|
107751
|
107752
|
107815
|
107816
|
107817
|
107818
|
107951
|
107952
|
107967
|
107968
|
107980
|
107981