X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fadmin%2Fcategorie.tt;h=44c0b1e6f17e803305fe44e346471eca7c472b54;hb=80b7a8153dca1bc8f97976e3686c6527766deef3;hp=6f3489d2e1a4e328e0695cafddeeeed548858e40;hpb=a7a4d39697bf52ad805fadd53d388b4530568774;p=koha_fer diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt index 6f3489d2e1..44c0b1e6f1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt @@ -1,22 +1,31 @@ +[% USE KohaDates -%] [% INCLUDE 'doc-head-open.inc' %] -Koha › Administration › Patron Categories › [% IF ( add_form ) %][% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] +<title>Koha › Administration › Patron categories › [% IF ( add_form ) %][% IF ( categorycode ) %]Modify category '[% categorycode |html %]'[% ELSE %]New category[% END %][% END %] [% IF ( add_validate ) %]Data recorded[% END %] -[% IF ( delete_confirm ) %][% IF ( totalgtzero ) %]Cannot Delete: Category [% categorycode |html %] in Use[% ELSE %]Confirm Deletion of Category '[% categorycode |html %]'[% END %][% END %] -[% IF ( delete_confirmed ) %]Category Deleted[% END %] +[% IF ( delete_confirm ) %][% IF ( totalgtzero ) %]Cannot delete: category [% categorycode |html %] in use[% ELSE %]Confirm deletion of category '[% categorycode |html %]'[% END %][% END %] +[% IF ( delete_confirmed ) %]Category deleted[% END %] [% INCLUDE 'doc-head-close.inc' %] - - - [% INCLUDE 'calendar.inc' %] - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'patrons-admin-search.inc' %] - +
@@ -120,29 +124,20 @@ [% END %]
    [% IF ( categorycode ) %] -
  1. Category code[% categorycode |html %] +
  2. Category code: [% categorycode |html %]
  3. [% ELSE %] -
  4. +
  5. [% END %] -
  6. -
  7. +
  8. +
  9. Choose one
    1. months
    2. - Show Calendar - +
      Cannot have "months" and "until date" at the same time
    @@ -160,7 +155,7 @@ [% END %]
  10. -
  11. [% IF ( hidelostitems ) %] @@ -170,8 +165,8 @@ [% END %]
  12. -
  13. + [% IF ( type_n ) %][% ELSE %][% END %] [% IF ( type_A ) %][% ELSE %][% END %] [% IF ( type_C ) %][% ELSE %][% END %] [% IF ( type_S ) %][% ELSE %][% END %] @@ -179,7 +174,30 @@ [% IF ( type_P ) %][% ELSE %][% END %] [% IF ( type_X ) %][% ELSE %][% END %] -
+ +
  • + + Select All if this category type must to be displayed all the time. Otherwise select librairies you want to associate with this value. + +
  • +
  • + + Should patrons of this category be blocked from opac actions such as renew and reserve when their cards have expired. +
  • +
    [% IF ( EnhancedMessagingPreferences ) %] @@ -207,7 +225,7 @@
    [% IF ( totalgtzero ) %] Category [% categorycode |html %] is in use. Deletion not possible![% ELSE %] -Confirm Deletion of Category [% categorycode |html %][% END %] +Confirm deletion of category [% categorycode |html %][% END %] [% IF ( totalgtzero ) %]
    This category is used [% total %] times. Deletion not possible
    [% END %] @@ -218,7 +236,7 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% IF ( enrolmentperiod ) %] [% enrolmentperiod %] months [% ELSE %] - until [% enrolmentperioddate %] + until [% enrolmentperioddate | $KohaDates %] [% END %] @@ -233,12 +251,12 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% ELSE %] - Cancel + Cancel [% END %] [% END %] [% IF ( delete_confirmed ) %] -

    Category Deleted

    +

    Category deleted

    @@ -247,52 +265,20 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% IF ( else ) %] -
    - -
    + -

    Patron Category Administration

    +

    Patron category administration

    [% IF ( searchfield ) %] You Searched for [% searchfield %] [% END %] - -  page(s) : - - - - - - , entries/page : - - - +[% IF ( loop ) %] +
    +
    + @@ -301,18 +287,22 @@ Confirm Deletion of Category [% categorycode |html %][% END %] - + [% IF ( EnhancedMessagingPreferences ) %] [% END %] - + + + + + [% FOREACH loo IN loop %] @@ -342,12 +332,12 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% FOREACH prefs IN loo.messaging_prefs %] [% FOREACH transport IN prefs.transports %] [% IF ( transport.transport ) %] - [% IF ( prefs.Item_Due ) %]Item Due - [% ELSIF ( prefs.Advance_Notice ) %]Advance Notice - [% ELSIF ( prefs.Upcoming_Events ) %]Upcoming Events - [% ELSIF ( prefs.Hold_Filled ) %]Hold Filled - [% ELSIF ( prefs.Item_Check_in ) %]Item Check-in - [% ELSIF ( prefs.Item_Checkout ) %]Item Checkout + [% IF ( prefs.Item_Due ) %]Item due + [% ELSIF ( prefs.Advance_Notice ) %]Advance notice + [% ELSIF ( prefs.Upcoming_Events ) %]Upcoming events + [% ELSIF ( prefs.Hold_Filled ) %]Hold filled + [% ELSIF ( prefs.Item_Check_in ) %]Item check-in + [% ELSIF ( prefs.Item_Checkout ) %]Item checkout [% ELSE %]Unknown [% END %]: [% transport.transport %]
    @@ -359,11 +349,32 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% END %] [% END %] - - + + + [% END %] +
    Code Category name Type Upper age limit Enrollment fee OverdueLost ItemsLost items Hold feeMessaging  Branches limitations   
    [% loo.categorycode |html %] - [% loo.description |html %] + [% loo.description |html %] [% IF ( loo.type_A ) %]Adult[% END %] @@ -326,7 +316,7 @@ Confirm Deletion of Category [% categorycode |html %][% END %] [% IF ( loo.enrolmentperiod ) %] [% loo.enrolmentperiod %] months [% ELSE %] - until [% loo.enrolmentperioddate %] + until [% loo.enrolmentperioddate | $KohaDates %] [% END %] EditDelete + [% IF loo.branches.size > 0 %] + [% branches_str = "" %] + [% FOREACH branch IN loo.branches %] + [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %] + [% END %] + + [% IF loo.branches.size > 1 %] + [% loo.branches.size %] branches limitations + [% ELSE %] + [% loo.branches.size %] branch limitation + [% END %] + + [% ELSE %] + No limitation + [% END %] + EditDelete
    +[% ELSE %] +
    No categories have been defined. Create a new category.
    +[% END %] [% END %]