X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Fmoremember.tt;h=44cdb94df95c3c0dc0c114bcba87b85a86608339;hb=8a118d01bf3e2415b02fd4a8a820203491a2af90;hp=5ea5ac37b5f0bd6953092e8c10797c0ea3a2dafc;hpb=fda87270ad49d403e70f3db4291c2ca65649cfeb;p=koha.git 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 5ea5ac37b5..44cdb94df9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -3,6 +3,7 @@ [% USE KohaDates %] [% USE AuthorisedValues %] [% USE ColumnsSettings %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › [% UNLESS blocking_error %] @@ -10,131 +11,9 @@ [% END %] [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'calendar.inc' %] -[% INCLUDE 'datatables.inc' %] -[% INCLUDE 'columns_settings.inc' %] -[% INCLUDE 'strings.inc' %] - - -[% INCLUDE 'timepicker.inc' %] - - - - - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] @@ -175,7 +54,7 @@ function validate1(date) { [% END %]
- [% IF ( was_renewed ) %]
Patron's account has been renewed until [% dateexpiry | $KohaDates %]
[% END %] + [% IF ( was_renewed ) %]
Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
[% END %] [% IF fines %]
@@ -231,17 +110,17 @@ function validate1(date) { View restrictions [% END %] - [% IF ( gonenoaddress ) %]
  • Patron's address is in doubt.
  • [% END %] + [% IF ( patron.gonenoaddress ) %]
  • Patron's address is in doubt.
  • [% END %] [% IF ( lost ) %]
  • Patron's card has been reported lost.
  • [% END %]
    [% END %]

    [% UNLESS ( I ) %] - [% title | html %] [% firstname | html %] [% END %] [% surname | html %] ([% cardnumber | html %])

    + [% patron.title | html %] [% patron.firstname | html %] [% END %] [% patron.surname | html %] ([% patron.cardnumber | html %])
    - [% IF ( othernames ) %]“[% othernames | html %]”[% END %] + [% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %]
    [% IF Koha.Preference( 'AddressFormat' ) %] @@ -253,17 +132,17 @@ function validate1(date) {
      - [% IF ( phone ) %]
    1. Primary phone: [% phone | html %]
    2. [% END %] - [% IF ( phonepro ) %]
    3. Secondary phone: [% phonepro | html %]
    4. [% END %] - [% IF ( mobile ) %]
    5. Other phone: [% mobile | html %]
    6. [% END %] - [% IF ( fax ) %]
    7. Fax: [% fax |html %]
    8. [% END %] - [% IF ( email ) %][% END %] - [% IF ( emailpro ) %][% END %] + [% IF ( patron.phone ) %]
    9. Primary phone: [% patron.phone | html %]
    10. [% END %] + [% IF ( patron.phonepro ) %]
    11. Secondary phone: [% patron.phonepro | html %]
    12. [% END %] + [% IF ( patron.mobile ) %]
    13. Other phone: [% patron.mobile | html %]
    14. [% END %] + [% IF ( patron.fax ) %]
    15. Fax: [% patron.fax |html %]
    16. [% END %] + [% IF ( patron.email ) %][% END %] + [% IF ( patron.emailpro ) %][% END %] [% UNLESS ( I ) %] - [% IF ( initials ) %]
    17. Initials: [% initials | html %]
    18. [% END %] - [% IF ( dateofbirth ) %]
    19. Date of birth:[% dateofbirth | $KohaDates %] ([% age %] years)
    20. [% END %] - [% IF ( sex ) %]
    21. Gender: - [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] + [% IF ( patron.initials ) %]
    22. Initials: [% patron.initials | html %]
    23. [% END %] + [% IF ( patron.dateofbirth ) %]
    24. Date of birth:[% patron.dateofbirth | $KohaDates %] ([% age %] years)
    25. [% END %] + [% IF ( patron.sex ) %]
    26. Gender: + [% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex %][% END %]
    27. [% END %] [% END %] [% IF guarantees %] @@ -293,9 +172,9 @@ function validate1(date) {
    [% IF ( guarantor.borrowernumber ) %] - Edit + Edit [% ELSE %] - Edit + Edit [% END %]
    @@ -307,18 +186,18 @@ function validate1(date) { [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
    - [% IF ( picture ) %] + [% IF ( patron.image ) %] Manage patron image -
    To update the image for [% title | html %] [% surname | html %], select a new image file and click 'Upload.'
    Click the 'Delete' button to remove the current image. +
    To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.'
    Click the 'Delete' button to remove the current image. [% ELSE %] Upload patron image -
    [% title %] [% firstname | html %] [% surname | html %] does not currently have an image available. To import an image for [% title %] [% surname | html %], enter the name of an image file to upload. +
    [% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload. [% END %]
    Only PNG, GIF, JPEG, XPM formats are supported.
    - - + +
    1. @@ -328,7 +207,7 @@ function validate1(date) { - [% IF ( picture ) %]Delete[% END %] + [% IF ( patron.image ) %]Delete[% END %]
    @@ -362,7 +241,7 @@ function validate1(date) {
    -
    Edit
    +
    Edit
    [% END %] [% IF ( ExtendedPatronAttributes ) %] @@ -391,7 +270,7 @@ function validate1(date) {
    [% END %] -
    Edit
    +
    Edit
    [% END %] [% END %] @@ -401,11 +280,11 @@ function validate1(date) {

    Patron messaging preferences

    [% INCLUDE 'messaging-preference-form.inc' %] [% IF ( SMSSendDriver ) %] -
    1. SMS number:[% SMSnumber %] + [% END %]
    -
    Edit
    +
    Edit
    [% END %] @@ -414,16 +293,16 @@ 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: [% patron.cardnumber %]
    10. +
    11. Borrowernumber: [% patron.borrowernumber %]
    12. +
    13. Category: [% patron.category.description %] ([% patron.categorycode %])
    14. +
    15. Registration date: [% patron.dateenrolled | $KohaDates %]
    16. +
    17. Expiration date: [% IF ( was_renewed ) %] - [% dateexpiry | $KohaDates %] + [% patron.dateexpiry | $KohaDates %] [% ELSE %] - [% dateexpiry | $KohaDates %] + [% patron.dateexpiry | $KohaDates %] [% END %]
    18. @@ -444,18 +323,18 @@ function validate1(date) { [% END %] - [% IF ( sort1 ) %]
    19. Sort field 1:[% AuthorisedValues.GetByCode('Bsort1', sort1) |html %]
    20. [% END %] - [% IF ( sort2 ) %]
    21. Sort field 2:[% AuthorisedValues.GetByCode('Bsort2', sort2) |html %]
    22. [% END %] -
    23. Username: [% userid |html %]
    24. + [% IF ( patron.sort1 ) %]
    25. Sort field 1:[% AuthorisedValues.GetByCode('Bsort1', patron.sort1) |html %]
    26. [% END %] + [% IF ( patron.sort2 ) %]
    27. Sort field 2:[% AuthorisedValues.GetByCode('Bsort2', patron.sort2) |html %]
    28. [% END %] +
    29. Username: [% patron.userid |html %]
    30. Password: - [% IF ( password ) %] + [% IF ( patron.password ) %] ******* [% ELSE %] - Undefined + Undefined [% END %]
    31. - [% IF ( borrowernotes ) %]
    32. Circulation note: [% borrowernotes |html %]
    33. [% END %] - [% IF ( opacnote ) %]
    34. OPAC note:[% opacnote |html %]
    35. [% END %] + [% IF ( patron.borrowernotes ) %]
    36. Circulation note: [% patron.borrowernotes |html %]
    37. [% END %] + [% IF ( patron.opacnote ) %]
    38. OPAC note:[% patron.opacnote |html %]
    39. [% END %] [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] [% IF ( sync == 1 ) %]
    40. Activate sync: Yes
    41. @@ -467,9 +346,9 @@ function validate1(date) { [% END %] [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
    42. Check previous checkouts: - [% IF ( checkprevcheckout == 'yes' ) %] + [% IF ( patron.checkprevcheckout == 'yes' ) %] Yes - [% ELSIF ( checkprevcheckout == 'no' ) %] + [% ELSIF ( patron.checkprevcheckout == 'no' ) %] No [% ELSE %] Inherited @@ -479,13 +358,13 @@ function validate1(date) { [% IF Koha.Preference('TranslateNotices') %]
    43. Preferred language for notices: - [% translated_language %] + [% patron.translated_language %]
    44. [% END %]
    -
    Edit
    +
    Edit

    Alternate address

    @@ -497,28 +376,28 @@ function validate1(date) { [% END %]
      - [% IF ( B_phone ) %]
    1. Phone: [% B_phone |html %]
    2. [% END %] - [% IF ( B_email ) %][% END %] - [% IF ( contactnote ) %]
    3. Contact note: [% contactnote |html %]
    4. [% END %] + [% IF ( patron.B_phone ) %]
    5. Phone: [% patron.B_phone |html %]
    6. [% END %] + [% IF ( patron.B_email ) %][% END %] + [% IF ( patron.contactnote ) %]
    7. Contact note: [% patron.contactnote |html %]
    8. [% END %]
    -
    Edit
    +
    Edit

    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: [% patron.altcontactsurname | html %]
      2. +
      3. First name: [% patron.altcontactfirstname | html %]
      4. +
      5. Address: [% patron.altcontactaddress1 | html %]
      6. +
      7. Address 2: [% patron.altcontactaddress2 | html %]
      8. +
      9. City: [% patron.altcontactaddress3 | html %]
      10. + [% IF ( patron.altcontactstate ) %]
      11. State: [% patron.altcontactstate | html %]
      12. [% END %] +
      13. ZIP/Postal code: [% patron.altcontactzipcode | html %]
      14. + [% IF ( patron.altcontactcountry ) %]
      15. Country: [% patron.altcontactcountry | html %]
      16. [% END %] + [% IF ( patron.altcontactphone ) %]
      17. Phone: [% patron.altcontactphone | html %]
      18. [% END %]
    -
    Edit
    +
    Edit
    @@ -624,7 +503,7 @@ function validate1(date) {
    - + [% IF Koha.Preference('AutoResumeSuspendedHolds') %] @@ -638,7 +517,7 @@ function validate1(date) {
    - + @@ -661,4 +540,130 @@ function validate1(date) { [% INCLUDE 'circ-menu.inc' %] + +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] + [% INCLUDE 'strings.inc' %] + [% INCLUDE 'calendar.inc' %] + + + [% INCLUDE 'timepicker.inc' %] + + + + + + + +[% END %] + [% INCLUDE 'intranet-bottom.inc' %]