View | Details | Raw Unified | Return to bug 34098
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-8 / +33 lines)
Lines 58-71 Link Here
58
[% IF ( uploadborrowers ) %]
58
[% IF ( uploadborrowers ) %]
59
    <h2>Import results</h2>
59
    <h2>Import results</h2>
60
    <ul>
60
    <ul>
61
        <li>[% imported | html %] imported records [% IF ( lastimported ) %](last was [% lastimported | html %])[% END %]</li>
61
        <li>
62
            [% tpx("Patron import", "{count_of_imported_records} imported records", {count_of_imported_records = imported}) | html %]
63
            [% IF ( lastimported ) %]
64
                [% tpx("Patron import", "(last was {last_imported_record})", {last_imported_record = lastimported}) | html %]
65
            [% END %]
66
        </li>
62
        [% IF imported and patronlistname %]
67
        [% IF imported and patronlistname %]
63
            <li>Patronlist with imported patrons: [% patronlistname | html %]</li>
68
            <li>Patron list with imported patrons: [% patronlistname | html %]</li>
64
        [% END %]
69
        [% END %]
65
        <li>[% overwritten | html %] overwritten [% IF ( lastoverwritten ) %](last was [% lastoverwritten | html %])[% END %]</li>
70
        <li>
66
        <li>[% alreadyindb | html %] not imported because already in borrowers table and overwrite disabled [% IF ( lastalreadyindb ) %](last was [% lastalreadyindb | html %])[% END %]</li>
71
            [% tpx("Patron import", "{count_of_overwritten_records} overwritten records", {count_of_overwritten_records = overwritten}) | html %]
67
        <li>[% invalid | html %] not imported because they are not in the expected format [% IF ( lastinvalid ) %](last was [% lastinvalid | html %])[% END %]</li>
72
            [% IF ( lastoverwritten ) %]
68
        <li>[% total | html %] records parsed</li>
73
                [% tpx("Patron import", "(last was {last_overwritten_record})", {last_overwritten_record = lastoverwritten}) | html %]
74
            [% END %]
75
        </li>
76
        <li>
77
            [% tpx("Patron import", "{count_of_existing_records} not imported because they are already in borrowers table and overwrite is disabled ", {count_of_existing_records = alreadyindb}) | html %]
78
            [% IF ( lastalreadyindb ) %]
79
                [% tpx("Patron import", "(last was {last_existing_record})", {last_existing_record = lastalreadyindb}) | html %]
80
            [% END %]
81
        </li>
82
        <li>
83
            [% tpx("Patron import", "{count_of_invalid_records} not imported because they are not in the expected format", {count_of_invalid_records = invalid}) | html %]
84
            [% IF ( lastinvalid ) %]
85
                [% tpx("Patron import", "(last was {last_invalid_record})", {last_invalid_record = lastinvalid}) | html %]
86
            [% END %]
87
        <li>
88
            [% tpx("Patron import", "{total} records parsed", {total = total}) | html %]
89
        </li>
69
        <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back to Tools</a></li>
90
        <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back to Tools</a></li>
70
    </ul>
91
    </ul>
71
92
Lines 373-379 Link Here
373
    <ul>
394
    <ul>
374
        <li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li>
395
        <li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li>
375
396
376
        <li><strong>Download a <a href="?sample=1">Starter CSV file</a> with all the columns.</strong>  Values are comma-separated.</li>
397
        <li>
398
            <strong>
399
                <a href="?sample=1">Download a Starter CSV file with all the columns.</a>
400
            </strong>
401
            [% tp("CSV file", "Values are comma-separated.") | html %]
402
        </li>
377
403
378
        <li>
404
        <li>
379
            OR choose which fields you want to supply from the following list:
405
            OR choose which fields you want to supply from the following list:
380
- 

Return to bug 34098