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)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 16 Dec 2011 09:25:52 +0000 (10:25 +0100)
commit52dca0f4337b83bff4ff2de457f21b8b7ab70134
tree341716391dfe38329c44f7e1dbc9785aca85559e
parent42d6b17851626c547481438138ebc592177c4e75
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt