From 2937eaeeae1b3c05aaeac6c8c16c51221ad402c5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sat, 11 Oct 2014 16:23:44 +0200 Subject: [PATCH] Bug 7878: (qa follow-up) Fix the sex default value Without the previous patch, when you edited a patron, the "N/A" value was selected for sex. With, no checkboxes were selected. This patch also replaces the IF opduplicate do nothing ELSE do something END statement with UNLESS opduplicate do something END which is more readable. Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/members/memberentrygen.tt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index f1c51aec5d..c544584f6c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -223,8 +223,8 @@ - - + + [% IF ( step ) %][% END %] [% IF ( opadd ) %] [% ELSIF ( opduplicate ) %] @@ -285,7 +285,7 @@ - + [% IF ( mandatoryfirstname ) %]Required[% END %] [% END %] @@ -299,9 +299,9 @@ Date of birth: [% IF ( dateformat == "metric" ) %] - + [% ELSE %] - + [% END %] [% IF ( mandatorydateofbirth ) %]Required[% END %] @@ -317,7 +317,7 @@ - + [% IF ( mandatoryinitials ) %]Required[% END %] [% END %] @@ -330,7 +330,7 @@ - + [% IF ( mandatoryothernames ) %]Required[% END %] [% IF ( I ) %][% END %] @@ -358,7 +358,7 @@ [% ELSE %] - + [% END %] @@ -1029,13 +1029,13 @@ Expiry date (leave blank for auto calc) [% IF ( dateformat == "metric" ) %] [% UNLESS ( opadd ) %] - + [% ELSE %] [% END %] [% ELSE %] [% UNLESS ( opadd ) %] - + [% ELSE %] [% END %] @@ -1052,7 +1052,7 @@ - +
This message appears on this patron's user page in the OPAC
[% IF ( mandatoryopacnote ) %]Required[% END %] @@ -1065,7 +1065,7 @@ - +
This message displays when checking out to this patron
[% IF ( mandatoryborrowernotes ) %]Required[% END %] -- 2.39.5