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 / +34 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% PROCESS 'i18n.inc' %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
8
<title>
Lines 54-67 Link Here
54
[% IF ( uploadborrowers ) %]
55
[% IF ( uploadborrowers ) %]
55
    <h5>Import results :</h5>
56
    <h5>Import results :</h5>
56
    <ul>
57
    <ul>
57
        <li>[% imported | html %] imported records [% IF ( lastimported ) %](last was [% lastimported | html %])[% END %]</li>
58
        <li>
59
            [% tpx("Patron import", "{count_of_imported_records} imported records", {count_of_imported_records = imported}) | html %]
60
            [% IF ( lastimported ) %]
61
                [% tpx("Patron import", "(last was {last_imported_record})", {last_imported_record = lastimported}) | html %]
62
            [% END %]
63
        </li>
58
        [% IF imported and patronlistname %]
64
        [% IF imported and patronlistname %]
59
            <li>Patronlist with imported patrons: [% patronlistname | html %]</li>
65
            <li>Patron list with imported patrons: [% patronlistname | html %]</li>
60
        [% END %]
66
        [% END %]
61
        <li>[% overwritten | html %] overwritten [% IF ( lastoverwritten ) %](last was [% lastoverwritten | html %])[% END %]</li>
67
        <li>
62
        <li>[% alreadyindb | html %] not imported because already in borrowers table and overwrite disabled [% IF ( lastalreadyindb ) %](last was [% lastalreadyindb | html %])[% END %]</li>
68
            [% tpx("Patron import", "{count_of_overwritten_records} overwritten records", {count_of_overwritten_records = overwritten}) | html %]
63
        <li>[% invalid | html %] not imported because they are not in the expected format [% IF ( lastinvalid ) %](last was [% lastinvalid | html %])[% END %]</li>
69
            [% IF ( lastoverwritten ) %]
64
        <li>[% total | html %] records parsed</li>
70
                [% tpx("Patron import", "(last was {last_overwritten_record})", {last_overwritten_record = lastoverwritten}) | html %]
71
            [% END %]
72
        </li>
73
        <li>
74
            [% 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 %]
75
            [% IF ( lastalreadyindb ) %]
76
                [% tpx("Patron import", "(last was {last_existing_record})", {last_existing_record = lastalreadyindb}) | html %]
77
            [% END %]
78
        </li>
79
        <li>
80
            [% tpx("Patron import", "{count_of_invalid_records} not imported because they are not in the expected format", {count_of_invalid_records = invalid}) | html %]
81
            [% IF ( lastinvalid ) %]
82
                [% tpx("Patron import", "(last was {last_invalid_record})", {last_invalid_record = lastinvalid}) | html %]
83
            [% END %]
84
        <li>
85
            [% tpx("Patron import", "{total} records parsed", {total = total}) | html %]
86
        </li>
65
        <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back to Tools</a></li>
87
        <li><a href="/cgi-bin/koha/tools/tools-home.pl">Back to Tools</a></li>
66
    </ul>
88
    </ul>
67
89
Lines 369-375 Link Here
369
    <ul>
391
    <ul>
370
        <li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li>
392
        <li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li>
371
393
372
        <li><strong>Download a <a href="?sample=1">Starter CSV file</a> with all the columns.</strong>  Values are comma-separated.</li>
394
        <li>
395
            <strong>
396
                <a href="?sample=1">Download a Starter CSV file with all the columns.</a>
397
            </strong>
398
            [% tp("CSV file", "Values are comma-separated.") | html %]
399
        </li>
373
400
374
        <li>
401
        <li>
375
            OR choose which fields you want to supply from the following list:
402
            OR choose which fields you want to supply from the following list:
376
- 

Return to bug 34098