Bug 12106: fix capitalization: "Patron Attributes" on tools/patron import
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / import_borrowers.tt
index 756e086..894dc2a 100644 (file)
@@ -1,5 +1,5 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Tools &rsaquo; Import Patrons [% IF ( uploadborrowers ) %]&rsaquo; Results[% END %]</title>
+<title>Koha &rsaquo; Tools &rsaquo; Import patrons [% IF ( uploadborrowers ) %]&rsaquo; Results[% END %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 <style type="text/css">
     .yui-u fieldset.rows label.widelabel { width: 12em; }
@@ -7,11 +7,11 @@
     code { background-color: yellow; }
 </style>
 </head>
-<body>
+<body id="tools_import_borrowers" class="tools">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'patron-search.inc' %]
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tools/import_borrowers.pl">Import Patrons</a>[% IF ( uploadborrowers ) %] &rsaquo; Results[% END %]</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a>[% IF ( uploadborrowers ) %] &rsaquo; Results[% END %]</div>
 
 <div id="doc3" class="yui-t2">
  <div id="bd">
@@ -19,7 +19,7 @@
    <div class="yui-b">
     <div class="yui-g">
      <div class="yui-u first">
-<h1>Import Patrons</h1>
+<h1>Import patrons</h1>
 [% IF ( uploadborrowers ) %]
 <h5>Import results :</h5>
 <ul>
             <br /><code>[% missing_critical.lineraw %]</code>
         </li>
         [% END %]
+        [% IF ERROR.invalid_cardnumber %]
+            <li class="line_error">
+                Cardnumber [% ERROR.cardnumber %] is not a valid cardnumber
+                [% IF ERROR.borrowernumber %] (for patron with borrowernumber [% ERROR.borrowernumber %])[% END %]
+            </li>
+        [% END %]
     [% END %]
     </ul>
     </div>
 <ol>
     [% FOREACH columnkey IN columnkeys %]
        <li>
-               <label class="widelabel" for="[% columnkey.key %]">[% columnkey.key %]</label>
+        <label class="widelabel" for="[% columnkey.key %]">[% columnkey.key %]: </label>
                <input id="[% columnkey.key %]" name="[% columnkey.key %]" />
        </li>
     [% END %]
     </fieldset>
     [% IF ( ExtendedPatronAttributes ) %]
        <fieldset class="rows">
-       <legend>Patron Attributes</legend>
+    <legend>Patron attributes</legend>
     <ol><li class="radio">
-        <input type="radio" id="ext_preserve_0" name="ext_preserve" value="0" checked="checked" /><label for="ext_preserve_0">Replace all Patron Attributes</label>
+        <input type="radio" id="ext_preserve_0" name="ext_preserve" value="0" checked="checked" /><label for="ext_preserve_0">Replace all patron attributes</label>
         </li>
         <li class="radio">
-        <input type="radio" id="ext_preserve_1" name="ext_preserve" value="1" /><label for="ext_preserve_1">Replace only included Patron Attributes</label>
+        <input type="radio" id="ext_preserve_1" name="ext_preserve" value="1" /><label for="ext_preserve_1">Replace only included patron attributes</label>
         </li>
     </ol>
     </fieldset>