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

            Bug ID: 41638
           Summary: Patron record field labels lack distinct id in HTML
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Libraries commonly use jQuery to reword the labels on various fields in the
patron record (like changing "Surname" to "Last name"). Those field labels lack
distinct IDs, which makes targeting them with jQuery more complicated and
fragile:

  $('.label:contains("Surname")').text('Last name:');
  $('label[for="surname"]').text("Last name:");

If that label had an ID like "#surname_label" it would simplify things.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to