From 4e7118f0166d2fd7eae50c7060e97965d6ffecd8 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. Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/members/memberentrygen.tt | 18 +++++++++--------- 1 file 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 70f9fa1873..6191c1c259 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 ) %]