From d6e0dd0b97972478bd435d9510395a69d2b49d9b Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Wed, 15 Feb 2012 12:34:30 +1300 Subject: [PATCH] Bug 7540 - add id values to the legends in the patron entry form This adds the following IDs to the legends in the patron entry form: main_address_lgd contact_lgd alt_address_lgd alt_contact_lgd library_management_lgd library_setup_lgd opac_staff_login_lgd patron_messaging_prefs_lgd With these in place, then jquery like: $(document).ready(function(){ $('#main_address_lgd').text('Postal Address'); $('#alt_address_lgd').text('Residential Address'); }); in intranetuserjs can be used to rename things to taste. --- .../prog/en/modules/members/memberentrygen.tt | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 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 34fef89..7377ec6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -184,7 +184,7 @@ [% IF ( step_1 ) %] [%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
- [% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity + [% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity
    [% UNLESS ( I ) %] [% UNLESS notitle %] @@ -424,7 +424,7 @@ [% END %] [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
    - Main address
      + Main address
        [% UNLESS nostreetnumber %]
      1. [% IF ( mandatorystreetnumber ) %] @@ -566,7 +566,7 @@ [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
        - Contact
          + Contact
            [% UNLESS nophone %]
          1. [% IF ( mandatoryphone ) %] @@ -675,7 +675,7 @@ [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
            - Alternate address
              + Alternate address
                [% UNLESS noB_address %]
              1. [% IF ( mandatoryB_address ) %] @@ -814,7 +814,7 @@ [% IF ( step_2 ) %] [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
                - Alternate Contact
                  + Alternate Contact
                    [% UNLESS noaltcontactsurname %]
                  1. [% IF ( mandatoryaltcontactsurname ) %] @@ -959,7 +959,7 @@ [% IF ( step_3 ) %]
                    - Library Management
                      + Library Management
                        [% UNLESS nocardnumber %]
                      1. [% IF ( mandatorycardnumber ) %]
                    [% UNLESS nodateenrolled && nodateexpiry && noopacnote && noborrowernotes %]
                    - Library set-up
                      + Library set-up
                        [% UNLESS nodateenrolled %]
                      1. [% IF ( mandatorydateenrolled ) %] @@ -1148,7 +1148,7 @@ [% UNLESS nouserid && nopassword %]
                        - OPAC/Staff Login
                          + OPAC/Staff Login
                            [% UNLESS nouserid %]
                          1. [% IF ( mandatoryuserid ) %] @@ -1442,7 +1442,7 @@ [% END %] - Patron messaging preferences + Patron messaging preferences [% IF type_only %] If no preferences are selected, the default preferences for the category chosen will be applied on save, otherwise your selection here is saved [% END %] -- 1.7.5.4