Bug 7559: Edit links for patron attributes and message preferences broken
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 19 Feb 2012 16:48:49 +0000 (17:48 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 27 Feb 2012 10:29:23 +0000 (11:29 +0100)
Edit links below sections for patron attributes and enhanced messaging
preferences are broken and the page is empty except for the heading.

To test:
1) Verify all edit links on the page lead to the correct sections of the patron
empty record.
2) Verify the edit link from the toolbar still works correctly.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This fixes a bug caused by bug 6190 (removal of unwanted fields)

koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index 7377ec6..51a1ba1 100644 (file)
                </ol>
        </fieldset>
 [% END # hide fieldset %]
-       
+
 [% IF ( showguarantor ) %]<input type="hidden" id="guarantorid" name="guarantorid"   value="[% guarantorid %]" />
     <fieldset class="rows">
         <legend>Guarantor Information</legend>
                        </ol>
                </fieldset>
     [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
-[% END %]              
+[% END %]
 [% IF ( step_2 ) %]
     [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
                <fieldset class="rows" id="memberentry_altaddress">       
                </li>
                </ol>
                </fieldset>
-        [% END # hide fieldset %]
+        [% END # hide fieldset %][% END %]
                <!--this zones are not necessary in modif mode -->
                [% UNLESS ( opadd ) %]
                <fieldset class="rows">
                        </ol>
                        </fieldset>
     
-               [% END %]       
+               [% END %]
 
 [% END %]
 
 [% INCLUDE 'members-menu.inc' %]
 </div>[% END %]
 [% END %]
-[% END %]
 </div>
 [% INCLUDE 'intranet-bottom.inc' %]