X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Fmemberentrygen.tt;h=96e17c5b2d602f8ed8b22a6248e9211ce8dcc743;hb=84825be42adf4a50b77360cf016cd5bfee15c072;hp=02d39f5e0587c0b89016f1a4d4680d4f91f46bb3;hpb=c13d3f0043324ca9625128b25c9edba7b41ebd7f;p=koha_fer 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 02d39f5e05..96e17c5b2d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -3,7 +3,7 @@ [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] [% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %][% UNLESS ( opadd ) %] [% surname %], [% firstname %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] @@ -81,6 +102,17 @@
+ [% IF error_alert %] + [% IF ( error_alert == "no_email" ) %] +
This member has no email
+ [% ELSE %] +
[% error_alert %]
+ [% END %] + [% END %] + [% IF info_alert %] +
Email has been sent.
+ [% END %] + [% IF ( no_add ) %]

Cannot add patron

[% IF ( no_branches ) %]

There are no libraries defined. [% IF ( CAN_user_parameters ) %]Please add a library.[% ELSE %]An administrator must define at least one library.[% END %]

[% END %] [% IF ( no_categories ) %]

There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.

[% END %][% END %]
[% END %] @@ -103,7 +135,7 @@

View existing record

-
+
@@ -126,7 +158,7 @@ [% END %] [% IF ( ERROR_age_limitations ) %]
  • Patron's age is incorrect for their category. - Ages allowed are [% ERROR_age_limitations %].
  • + Ages allowed are [% age_low %]-[% age_high %]. [% END %] [% IF ( ERROR_branch ) %]
  • Library is invalid.
  • @@ -143,6 +175,9 @@ [% IF ( ERROR_short_password ) %]
  • Password must be at least [% minPasswordLength %] characters long.
  • [% END %] + [% IF ( ERROR_password_mismatch ) %] +
  • Passwords do not match.
  • + [% END %] [% IF ( ERROR_extended_unique_id_failed ) %]
  • The attribute value [% ERROR_extended_unique_id_failed %] is already is use by another patron record.
  • @@ -152,7 +187,7 @@ [% END %] -[% UNLESS ( check_member ) %] +[% UNLESS ( check_member ) %] [% END %] @@ -172,7 +207,7 @@ [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 %] [%# Only put the cardnumber if we arent showing it in the form later %] [% IF cardnumber %] - + [% END %] [% END %] [% END %] @@ -180,7 +215,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 %] @@ -250,16 +285,6 @@ [% END %] - Show Calendar - [% IF ( mandatorydateofbirth ) %]Required[% END %] [% IF ( ERROR_dateofbirth ) %](Error)[% END %]
      [% INCLUDE 'date-format.inc' %]
      @@ -324,10 +349,10 @@
    [% END # hide fieldset %] - + [% IF ( showguarantor ) %]
    - Guarantor Information + Guarantor information
      [% IF ( P ) %] [% IF ( guarantorid ) %] @@ -410,7 +435,7 @@ [% IF ( guarantorid ) %] [% ELSE %] - + [% END %] @@ -420,7 +445,7 @@ [% END %] [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
      - Main address
        + Main address
          [% UNLESS nostreetnumber %]
        1. [% IF ( mandatorystreetnumber ) %] @@ -562,7 +587,7 @@ [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
          - Contact
            + Contact
              [% UNLESS nophone %]
            1. [% IF ( mandatoryphone ) %] @@ -570,7 +595,7 @@ [% ELSE %] + Primary phone: [% IF ( opduplicate ) %] [% ELSE %] @@ -587,7 +612,7 @@ [% ELSE %] + Secondary phone: [% IF ( opduplicate ) %] [% ELSE %] @@ -603,7 +628,7 @@ [% ELSE %] + Other phone: [% IF ( opduplicate ) %] [% ELSE %] @@ -619,7 +644,7 @@ [% ELSE %] + Primary email: [% IF ( opduplicate ) %] [% ELSE %] @@ -636,7 +661,7 @@ [% ELSE %] + Secondary email: [% IF ( opduplicate ) %] [% ELSE %] @@ -671,7 +696,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 ) %] @@ -806,11 +831,11 @@
              [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] -[% END %] +[% END %] [% IF ( step_2 ) %] [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
              - Alternate Contact
                + Alternate contact
                  [% UNLESS noaltcontactsurname %]
                1. [% IF ( mandatoryaltcontactsurname ) %] @@ -955,7 +980,7 @@ [% IF ( step_3 ) %]
                  - Library Management
                    + Library management
                      [% UNLESS nocardnumber %]
                    1. [% IF ( mandatorycardnumber ) %]
                    2. [% END %] [% UNLESS nobranchcode %] @@ -984,25 +1005,25 @@ [% END %]
                    3. - [% FOREACH typeloo IN typeloop %] - [% FOREACH categoryloo IN typeloo.categoryloop %] - [% IF ( loop.first ) %] - [% IF ( categoryloo.typename_C ) %][% END %] - [% IF ( categoryloo.typename_A ) %][% END %] - [% IF ( categoryloo.typename_S ) %][% END %] - [% IF ( categoryloo.typename_I ) %][% END %] - [% IF ( categoryloo.typename_P ) %][% END %] - [% IF ( categoryloo.typename_X ) %][% END %] - [% END %] - [% IF ( categoryloo.categorycodeselected ) %] - - [% ELSE %] - - [% END %] - [% IF ( loop.last ) %] - - [% END %] + [% FOREACH categoryloo IN typeloo.categoryloop %] + [% IF ( loop.first ) %] + [% IF ( typeloo.typename_C ) %][% END %] + [% IF ( typeloo.typename_A ) %][% END %] + [% IF ( typeloo.typename_S ) %][% END %] + [% IF ( typeloo.typename_I ) %][% END %] + [% IF ( typeloo.typename_P ) %][% END %] + [% IF ( typeloo.typename_X ) %][% END %] + [% END %] + [% IF ( categoryloo.categorycodeselected ) %] + + [% ELSE %] + + [% END %] + [% IF ( loop.last ) %] + + [% END %] [% END %] [% END %] @@ -1047,30 +1068,20 @@
                  [% UNLESS nodateenrolled && nodateexpiry && noopacnote && noborrowernotes %]
                  - Library set-up
                    + Library set-up
                      [% UNLESS nodateenrolled %]
                    1. [% IF ( mandatorydateenrolled ) %] -
                    2. [% IF ( mandatorydateexpiry ) %] -
                    3. + [% END %] +
                    + [% IF pa_loo.class %]
                  [% END %] + [% END %]
              [% END %][% END %][% END %] @@ -1397,9 +1426,9 @@ [% 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 +

              If no preferences are selected, the default preferences for the category chosen will be applied on save, otherwise your selection here is saved

              [% END %] [% INCLUDE 'messaging-preference-form.inc' %] [% IF ( SMSSendDriver ) %]