From 117f4b643e09eaf7a47b42a278691354934d0431 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 += "
  • " + _("Email: ") + "" + escape_str(row.email) + "
  • "; } if ( patron_id === "[% Koha.Preference('AnonymousPatron') %]" ) { - r += "
  • " + _("This is the anonymous patron") + "
  • "; + r += "
  • " + _("Anonymous patron") + "
  • "; } r += '' -- 2.39.5