Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Jonathan Druart 5f80977875 Bug 18403: Use patron-title.inc when hidepatronname is used
There is already a HidePatronName syspref to hide patron's information
on bibliographic
record detail pages and the hold list.

Test plan:
With the HidePatronName enabled, make sure the patron's information are
hidden from
the catalogue and hold list pages. If the logged in user is not allowed
to see the
patron's info, no link and no cardnumber will be displayed
With he HidePatronName disabled, make sure the patron's information are
displayed
if the logged in user is allowed to see the patron's info.

Technical note:
This patch improves the existing patron-title.inc include file to
display patron's
information. Using it everywhere patron's details are displayed will
permit to
homogenise the way they are displayed. The file takes now a patron
object (what
should be, in the future, the only way to use it), that way we can call
the new
method on it to know if patron's information can be shown by the logged
in used.

NOTE: I am not sure this syspref makes sense anymore. Should not we
remove it?

Signed-off-by: Signed-off-by: Jon McGowan <jon.mcgowan@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-12 15:41:38 -03:00
..
acqui Bug 10032: (follow-up) Move title attribute to button container 2018-02-08 17:01:14 -03:00
admin Bug 16735: (QA follow-up) Fix rebase error 2018-02-12 15:41:30 -03:00
authorities Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
basket Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
batch
catalogue Bug 18403: Use patron-title.inc when hidepatronname is used 2018-02-12 15:41:38 -03:00
cataloguing Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
circ Bug 18403: Only display libraries from group in dropdown lists 2018-02-12 15:41:38 -03:00
clubs Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
common Bug 18403: Only display libraries from group in dropdown lists 2018-02-12 15:41:38 -03:00
course_reserves Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
errors
help Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
ill Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
installer Bug 18819: "UNIMARC is used in Europe" text changed to "UNIMARC is used in a few European countries" 2017-12-20 13:34:10 -03:00
labels Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
members Bug 18403: Only display libraries from group in dropdown lists 2018-02-12 15:41:38 -03:00
offline_circ Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
onboarding Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
patron_lists Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
patroncards Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
plugins Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
reports Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
reserve Bug 18403: Use patron-title.inc when hidepatronname is used 2018-02-12 15:41:38 -03:00
reviews Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
rotating_collections Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
serials Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
services
suggestion Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
tags Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
test
tools Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
virtualshelves Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
about.tt Bug 7143: Update about page for new dev - Jenny Way 2018-02-05 10:03:35 -03:00
auth.tt
intranet-main.tt Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00