https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43951

--- Comment #5 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 210027
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210027&action=edit
Bug 43951: Add a no_link parameter to patron-title.inc

patron-title.inc can only drop the link to the patron by passing
no_html, which also removes the <span> wrappers around each name part
(surname, cardnumber, etc.). Local IntranetUserJS and IntranetUserCSS
commonly rely on those classes.

Add a no_link parameter that only drops the link and keeps the spans, so
headings can show the patron as plain text without changing the markup
inside them.

To test:
1. Apply the patch. Nothing changes yet, as no template passes no_link.
2. Check that patron-title.inc output is unchanged on pages that do not
   pass no_link, e.g. the patron's Details page and a patron checkout.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to