Bugzilla – Attachment 183258 Details for
Bug 40000
Show that a patron is the anonymous in patrons search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40000: (follow-up) Use badge to highlight anonymous patron
Bug-40000-follow-up-Use-badge-to-highlight-anonymo.patch (text/plain), 1.66 KB, created by
Owen Leonard
on 2025-06-14 14:37:44 UTC
(
hide
)
Description:
Bug 40000: (follow-up) Use badge to highlight anonymous patron
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-06-14 14:37:44 UTC
Size:
1.66 KB
patch
obsolete
>From 117f4b643e09eaf7a47b42a278691354934d0431 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sat, 14 Jun 2025 14:33:52 +0000 >Subject: [PATCH] Bug 40000: (follow-up) Use badge to highlight anonymous > patron > >I think a "warning" class is appropriate because we're warning the user >that this patron should be treated differently. > >I trimmed to label to "Anonymous patron" because I don't think the "This >is the..." is necessary for a label. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index f64240e3c4a..49b82296df1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -607,7 +607,7 @@ > r += "<li class=\"patron_email\">" + _("Email: ") + "<a href='mailto:" + encodeURIComponent(row.email) + "'>" + escape_str(row.email) + "</a></li>"; > } > if ( patron_id === "[% Koha.Preference('AnonymousPatron') %]" ) { >- r += "<li class=\"patron_is_anonymous\"><span class=\"circ-hlt\">" + _("This is the anonymous patron") + "</span></li>"; >+ r += "<li class=\"patron_is_anonymous\"><span class=\"badge text-bg-warning\">" + _("Anonymous patron") + "</span></li>"; > } > r += '</ul></div>' > >-- >2.39.5
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 40000
:
183063
|
183064
|
183256
| 183258 |
183263