]> git.koha-community.org Git - koha.git/commit
Bug 7324: Show alternate email as mailto: / hide labels when field is empty
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Tue, 6 Dec 2011 17:45:33 +0000 (18:45 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Fri, 20 Jan 2012 20:38:19 +0000 (15:38 -0500)
commit9e49663770748182aa5c0cd7674c955e26aa7797
treea8eab879f9af462152740f300c57609c863529f6
parente9bfc62358a4960856e410fb2853d16295361830
Bug 7324: Show alternate email as mailto: / hide labels when field is empty

UPDATE 2011-12-15
Fixed wrong div that broke the patron account display.
Thank you Paul for catching this!

Changes made to the patron detail tab:
- alternate email shows as mailto: link

- labels for following fields only show when field is filled
  - initials
  - date of birth
  - gender
  - country (alternate address)
  - email (alternate address)
  - state (alternative contact)
  - country (alternative contact)
  - phone (alternative contact)

To test:
1) Add new patron with minimal data and check the labels don't show
2) Change patron to have data in changed fields and check labels show
3) Check all email addresses are shown as mailto: links now

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Verified tests 1-3, looks good to me.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 52dca0f4337b83bff4ff2de457f21b8b7ab70134)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 7a14823fa34225f672854a0bb3c8fd39116e5d0e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt