[Koha-bugs] [Bug 30617] New: We should consistently use includes for patron name display

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 09:18:55 CEST 2022


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

            Bug ID: 30617
           Summary: We should consistently use includes for patron name
                    display
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Our templates are littered with various invocations of `[% patron.surname %],
[% patron.firstname %]` and similar in varying orders and varying levels of
detail (with or without cardnumber, with or without title, surname first or
firstname first, linked and unlinked).

We have two ways of constructing a patron display block, patron-title.inc tt
include and js-patron-format.inc for use in JS based displays.

We should congregate our templates around these two includes so that we can
make our display consistent throughout with perhaps just a couple of display
variations.. short and long forms perhaps?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list