From 2d147060fdaa8ca6ebc4855ea3301c3c73900bab 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 --- .../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 41dbdd6..b45d3b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -222,8 +222,8 @@ - - + + [% IF ( step ) %][% END %] [% IF ( opadd ) %] [% ELSIF ( opduplicate ) %] @@ -284,7 +284,7 @@ - + [% IF ( mandatoryfirstname ) %]Required[% END %] [% END %] @@ -298,9 +298,9 @@ Date of birth: [% IF ( dateformat == "metric" ) %] - + [% ELSE %] - + [% END %] [% IF ( mandatorydateofbirth ) %]Required[% END %] @@ -316,7 +316,7 @@ - + [% IF ( mandatoryinitials ) %]Required[% END %] [% END %] @@ -329,7 +329,7 @@ - + [% IF ( mandatoryothernames ) %]Required[% END %] [% IF ( I ) %][% END %] @@ -357,7 +357,7 @@ [% ELSE %] - + [% END %] @@ -1016,13 +1016,13 @@ Expiry date (leave blank for auto calc) [% IF ( dateformat == "metric" ) %] [% UNLESS ( opadd ) %] - + [% ELSE %] [% END %] [% ELSE %] [% UNLESS ( opadd ) %] - + [% ELSE %] [% END %] @@ -1039,7 +1039,7 @@ - +
This message appears on this patron's user page in the OPAC
[% IF ( mandatoryopacnote ) %]Required[% END %] @@ -1052,7 +1052,7 @@ - +
This message displays when checking out to this patron
[% IF ( mandatoryborrowernotes ) %]Required[% END %] -- 2.1.0