From 7d13a54f541dad857a093d2b6d899282441debaf Mon Sep 17 00:00:00 2001 From: Robin Sheat Date: Wed, 15 Feb 2012 12:34:30 +1300 Subject: [PATCH] Bug 7540 [3.6.x] - 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 47ea6c9..b66b917 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -179,7 +179,7 @@ [% IF ( step_1 ) %]
- [% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity + [% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity
    [% UNLESS ( I ) %] [% IF ( title_cgipopup ) %] @@ -399,7 +399,7 @@ [% END %]
    - Main address
      + Main address
      1. [% IF ( mandatorystreetnumber ) %]
    - Contact
      + Contact
      1. [% IF ( mandatoryphone ) %]