From 8f6ef0bab2783650b964949825a142d1784fd7a1 Mon Sep 17 00:00:00 2001 From: Zoe Bennett Date: Tue, 16 Jan 2018 03:06:59 +0000 Subject: [PATCH] Bug 19818: Added id's to the li tags for labels To test: 1)Go to the screen: /cgi-bin/koha/members/moremember.pl 2)On the right of the screen, right click one of the labels below 'Library use' etc, and Inspect Element 3) View
  • tags which should now each have a unique tag for each --- .../prog/en/modules/members/moremember.tt | 52 +++++++++++----------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 180d941..a3f8a77 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -392,12 +392,12 @@ function validate1(date) {

    Library use

      -
    1. Card number: [% cardnumber %]
    2. -
    3. Borrowernumber: [% borrowernumber %]
    4. -
    5. Category: [% categoryname %] ([% categorycode %])
    6. -
    7. Registration date: [% dateenrolled | $KohaDates %]
    8. +
    9. Card number: [% cardnumber %]
    10. +
    11. Borrowernumber: [% borrowernumber %]
    12. +
    13. Category: [% categoryname %] ([% categorycode %])
    14. +
    15. Registration date: [% dateenrolled | $KohaDates %]
    16. -
    17. Expiration date: +
    18. Expiration date: [% IF ( was_renewed ) %] [% dateexpiry | $KohaDates %] [% ELSE %] @@ -405,15 +405,15 @@ function validate1(date) { [% END %]
    19. -
    20. Library: [% branchname %]
    21. +
    22. Library: [% branchname %]
    23. - [% IF ( OPACPrivacy ) %]
    24. Privacy Pref: + [% IF ( OPACPrivacy ) %]
    25. Privacy Pref: [% IF ( privacy0 ) %]Forever[% END %] [% IF ( privacy1 ) %]Default[% END %] [% IF ( privacy2 ) %]Never[% END %]
    26. [% END %] -
    27. +
    28. Show checkouts to guarantor [% IF privacy_guarantor_checkouts %] Yes @@ -422,23 +422,23 @@ function validate1(date) { [% END %]
    29. - [% IF ( sort1 ) %]
    30. Sort field 1:[% AuthorisedValues.GetByCode('Bsort1', sort1) |html %]
    31. [% END %] - [% IF ( sort2 ) %]
    32. Sort field 2:[% AuthorisedValues.GetByCode('Bsort2', sort2) |html %]
    33. [% END %] -
    34. Username: [% userid |html %]
    35. -
    36. Password: + [% IF ( sort1 ) %]
    37. Sort field 1:[% AuthorisedValues.GetByCode('Bsort1', sort1) |html %]
    38. [% END %] + [% IF ( sort2 ) %]
    39. Sort field 2:[% AuthorisedValues.GetByCode('Bsort2', sort2) |html %]
    40. [% END %] +
    41. Username: [% userid |html %]
    42. +
    43. Password: [% IF ( password ) %] ******* [% ELSE %] Undefined [% END %]
    44. - [% IF ( borrowernotes ) %]
    45. Circulation note: [% borrowernotes |html %]
    46. [% END %] - [% IF ( opacnote ) %]
    47. OPAC note:[% opacnote |html %]
    48. [% END %] + [% IF ( borrowernotes ) %]
    49. Circulation note: [% borrowernotes |html %]
    50. [% END %] + [% IF ( opacnote ) %]
    51. OPAC note:[% opacnote |html %]
    52. [% END %] [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] [% IF ( sync == 1 ) %] -
    53. Activate sync: Yes
    54. - [% IF ( syncstatus ) %]
    55. Sync status: [% syncstatus %]
    56. [% END %] - [% IF ( lastsync ) %]
    57. Last sync: [% lastsync | $KohaDates %]
    58. [% END %] +
    59. Activate sync: Yes
    60. + [% IF ( syncstatus ) %]
    61. Sync status: [% syncstatus %]
    62. [% END %] + [% IF ( lastsync ) %]
    63. Last sync: [% lastsync | $KohaDates %]
    64. [% END %] [% ELSE %]
    65. Activate sync: No
    66. [% END %] @@ -485,15 +485,15 @@ function validate1(date) {

      Alternative contact

      -
      1. Surname: [% altcontactsurname | html %]
      2. -
      3. First name: [% altcontactfirstname | html %]
      4. -
      5. Address: [% altcontactaddress1 | html %]
      6. -
      7. Address 2: [% altcontactaddress2 | html %]
      8. -
      9. City: [% altcontactaddress3 | html %]
      10. - [% IF ( altcontactstate ) %]
      11. State: [% altcontactstate | html %]
      12. [% END %] -
      13. ZIP/Postal code: [% altcontactzipcode | html %]
      14. - [% IF ( altcontactcountry ) %]
      15. Country: [% altcontactcountry | html %]
      16. [% END %] - [% IF ( altcontactphone ) %]
      17. Phone: [% altcontactphone | html %]
      18. [% END %] +
        1. Surname: [% altcontactsurname | html %]
        2. +
        3. First name: [% altcontactfirstname | html %]
        4. +
        5. Address: [% altcontactaddress1 | html %]
        6. +
        7. Address 2: [% altcontactaddress2 | html %]
        8. +
        9. City: [% altcontactaddress3 | html %]
        10. + [% IF ( altcontactstate ) %]
        11. State: [% altcontactstate | html %]
        12. [% END %] +
        13. ZIP/Postal code: [% altcontactzipcode | html %]
        14. + [% IF ( altcontactcountry ) %]
        15. Country: [% altcontactcountry | html %]
        16. [% END %] + [% IF ( altcontactphone ) %]
        17. Phone: [% altcontactphone | html %]
        18. [% END %]
      -- 2.1.4