From cd7e7dde40727b2a7ba0cae53cd5c6c112608225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sat, 20 May 2017 12:32:09 +0200 Subject: [PATCH] Bug 18644: Get rid of template directives when translating memberentrygen.tt Work in progress, not yet ready for testing. --- .../prog/en/modules/members/memberentrygen.tt | 32 ++++++---------------- 1 file changed, 9 insertions(+), 23 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 5045714..92c00a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -232,8 +232,8 @@ $(document).ready(function() { - - + + [% IF ( step ) %][% END %] [% IF ( opadd ) %] @@ -304,25 +304,11 @@ $(document).ready(function() { - + [% IF ( mandatoryfirstname ) %]Required[% END %] [% END %] [% UNLESS nodateofbirth %] -
  • - [% IF ( mandatorydateofbirth ) %] -
  • [% END %] [% UNLESS noinitials %]
  • @@ -332,7 +318,7 @@ $(document).ready(function() { - + [% IF ( mandatoryinitials ) %]Required[% END %]
  • [% END %] @@ -345,7 +331,7 @@ $(document).ready(function() { - + [% IF ( mandatoryothernames ) %]Required[% END %] [% IF ( I ) %][% END %] @@ -781,13 +767,13 @@ $(document).ready(function() { Expiry date (leave blank for auto calc): [% IF ( dateformat == "metric" ) %] [% UNLESS ( opadd ) %] - + [% ELSE %] [% END %] [% ELSE %] [% UNLESS ( opadd ) %] - + [% ELSE %] [% END %] @@ -804,7 +790,7 @@ $(document).ready(function() { - +
    This message appears on this patron's user page in the OPAC
    [% IF ( mandatoryopacnote ) %]Required[% END %] @@ -817,7 +803,7 @@ $(document).ready(function() { - +
    This message displays when checking out to this patron
    [% IF ( mandatoryborrowernotes ) %]Required[% END %] -- 2.1.4