@@ -, +, @@ in patron account - 'no address stored' is now only displayed when first and second line of the address are empty - added id's to all 3 possible messages so people can change or hide them empty --- .../intranet-tmpl/prog/en/includes/circ-menu.inc | 20 ++++++++++-------- .../intranet-tmpl/prog/en/includes/circ-menu.tt | 21 +++++++++++-------- 2 files changed, 23 insertions(+), 18 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -12,19 +12,21 @@
  • [% firstname %] [% surname %] ([% cardnumber %])
  • [% END %] [% END %] -
  • [% IF ( address ) %] - [% address %] + [% IF ( address or address2 ) %] + [% IF ( address ) %] +
  • [% address %]
  • + [% END %] + [% IF ( address2 ) %] +
  • [% address2 %]
  • + [% END %] [% ELSE %] - No address stored. - [% END %] - [% IF ( address2 ) %] -
  • [% address2 %]
  • - [% END %]
  • +
  • No address stored.
  • + [% END %] [% IF ( city ) %] [% city %][% IF ( state ) %], [% state %][% END %] [% zipcode %][% IF ( country ) %], [% country %][% END %] [% ELSE %] - No city stored. + No city stored. [% END %]
  • [% IF ( phone ) %] [% phone %] @@ -35,7 +37,7 @@ [% IF ( phonepro ) %] [% phonepro %] [% ELSE %] - No phone stored. + No phone stored. [% END %] [% END %] [% END %]
  • --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt @@ -14,19 +14,22 @@ in the global namespace %]
  • [% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])
  • [% END %] [% END %] -
  • [% IF borrower.address %] - [% borrower.address %] + [% IF ( borrower.address or borrower.address2 ) %] + [% IF ( borrower.address ) %] +
  • [% borrower.address %]
  • + [% END %] + [% IF ( borrower.address2 ) %] +
  • [% borrower.address2 %]
  • + [% END %] [% ELSE %] - No address stored. - [% END %] - [% IF borrower.address2 %] -
  • [% borrower.address2 %]
  • - [% END %]
  • +
  • No address stored.
  • + [% END %] +
  • [% IF borrower.city %] [% borrower.city %][% IF borrower.state %], [% borrower.state %][% END %] [% borrower.zipcode %][% IF ( borrower.country ) %], [% borrower.country %][% END %] [% ELSE %] - No city stored. + No city stored. [% END %]
  • [% IF borrower.phone %] [% borrower.phone %] @@ -37,7 +40,7 @@ in the global namespace %] [% IF borrower.phonepro %] [% borrower.phonepro %] [% ELSE %] - No phone stored. + No phone stored. [% END %] [% END %] [% END %]
  • --