From 6e3249dbce80e62a0182e77cb086963827580925 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. Signed-off-by: Katrin Fischer --- 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 73787825962..98cd48d4790 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -604,7 +604,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