Bugzilla – Attachment 148687 Details for
Bug 29449
Show userid on "your personal details" tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29449: Show userid on "Personal details" tab
Bug-29449-Show-userid-on-Personal-details-tab.patch (text/plain), 2.13 KB, created by
Kyle M Hall (khall)
on 2023-03-24 17:28:07 UTC
(
hide
)
Description:
Bug 29449: Show userid on "Personal details" tab
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-03-24 17:28:07 UTC
Size:
2.13 KB
patch
obsolete
>From b3d3df2fc806f6be60aa1d5df26518449fb5679b Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Thu, 23 Feb 2023 08:46:13 +0000 >Subject: [PATCH] Bug 29449: Show userid on "Personal details" tab > >To reproduce: >- Login to the OPAC >- Go to the "Personal details" tab >- Verify the Username/userid of the logged in user is not > shown anywhere > >To test: >- Apply this patch >- Reload the "Personal details" tab >- Verify that "Username:" and the userid is now shown below the > "Library card number" >- Try adding "userid" to PatronSelfModificationBorrowerUnwantedField > and verify the field is hidden as expected >- Log out >- Go to "Don't have an account? Register here." >- Verify "Username:" is *not* shown >- Sign off > >Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index b051a14c023..3d65cb70fae 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -236,6 +236,15 @@ > </li> > [% END %] > >+ [% IF action != 'new' %] >+ [% UNLESS hidden.defined('userid') %] >+ <li> >+ <label>Username:</label> >+ [% borrower.userid | html %] >+ </li> >+ [% END %] >+ [% END %] >+ > [% UNLESS hidden.defined('dateexpiry') %] > <li> > <label>Expiration date:</label> >-- >2.30.2
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 29449
:
147114
|
147195
|
147196
|
147975
| 148687