Bug 2930 [REVISED] Put other name on checkout screen
authorOwen Leonard <oleonard@myacpl.org>
Thu, 6 Sep 2012 16:31:23 +0000 (12:31 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 9 Oct 2012 10:23:39 +0000 (12:23 +0200)
commit94eae1df00ffe47b30b1bd0609ea3a4011e3c91f
treebedb8c28bb21ac7ed93c854be352f741aea6ef37
parent3779dcd0856d4ae7f71fd867fa4979154369a393
Bug 2930 [REVISED] Put other name on checkout screen

This patch adds other name to the include which is used
to display patron names and adds this include in several
places where it can be used in place of direct output.

The patron-title include has been modified to handle the
two possible variable scopes throughout patron-related
templates. This is a hack similar to having both
circ-menu.tt and circ-menu.inc, but keeping both in the
same file.

Changes to some scripts were necessary to make the
othernames variable available to the include.

This patch also corrects some <title> tags and fixes
some incorrect capitalization (see Bug 2780).

To test, view each of the pages affected by these
template changes and confirm that the patron's name
displays correctly, including their "other name."

Signed-off-by: Marc Veron <veron@veron.ch>
Followed instructions above, works as expected.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt