Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Owen Leonard f3b8f17395 Bug 20518: Don't show "Messages" header and link on patron details if there are no messages
This patch modifies the patron detail page so that the "Messages" header
is not displayed if there are no messages.

Unrelated: A minor change was made to moremember.pl to quiet an error in
the log, "Use of uninitialized value $print in string eq at
members/moremember.pl line 219."

To test, apply the patch and open the detail page for a patron who has
no messages. There should be no "Messages" header or "add message" link.

Add a message to the patron's account. The message should appear, along
with the "Messages" header and "add message" link.

The error logs should show no errors.

Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-11 16:45:09 -03:00
..
tables
boraccount.tt Bug 12001: Move GetMemberAccountRecords to the Koha namespace 2018-02-23 10:57:30 -03:00
deletemem.tt Bug 19933: Fix typo in template plugin name 2018-03-23 11:45:38 -03:00
discharge.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
discharges.tt Bug 20526: Show and sort by date of request in pending discharges table 2018-04-06 14:51:15 -03:00
files.tt Bug 19641: (follow-up) Move patron templates to the footer 2018-02-15 15:09:37 -03:00
holdshistory.tt Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
housebound.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
mancredit.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
maninvoice.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-flags.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-password.tt Bug 19908: Password fields in edit/add patron form should respect BorrowerMandatoryField preference 2018-03-19 12:23:12 -03:00
member.tt Bug 20296: Untranslatable "All" in patrons table filter 2018-02-27 13:48:18 -03:00
memberentrygen.tt Bug 19907: Fix email validation in patron edit form 2018-04-02 18:07:45 -03:00
members-update.tt Bug 19641: (follow-up) Move patron templates to the footer 2018-02-15 15:09:37 -03:00
moremember-brief.tt Bug 19954: Update popup window templates to use Bootstrap grid: Patrons 2018-02-18 16:48:47 -03:00
moremember-print.tt Bug 12001: (QA follow-up) Fix patron account summary print 2018-02-23 10:57:30 -03:00
moremember-receipt.tt Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
moremember.tt Bug 20518: Don't show "Messages" header and link on patron details if there are no messages 2018-04-11 16:45:09 -03:00
nl-search.tt Bug 19641: (follow-up) Move patron templates to the footer 2018-02-15 15:09:37 -03:00
notices.tt Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
pay.tt Bug 20249: (bug 18789 follow-up) "Patron has no outstanding fines" now appears alongside fines 2018-02-19 17:22:59 -03:00
paycollect.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
printfeercpt.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
printinvoice.tt Bug 12001: (QA follow-up) Fix printinvoice page 2018-02-23 10:57:30 -03:00
purchase-suggestions.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
readingrec.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
routing-lists.tt Bug 20290: Fix capitalization of "Routling List" 2018-02-27 11:45:16 -03:00
statistics.tt Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
update-child.tt Bug 19954: Update popup window templates to use Bootstrap grid: Patrons 2018-02-18 16:48:47 -03:00