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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-1 / +1 lines)
Lines 251-257 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
251
            }
251
            }
252
        },
252
        },
253
        'iso2709': {
253
        'iso2709': {
254
            saveLabel: _("Save as ISO2709 (.mrc) file"),
254
            saveLabel: _("Save as MARC (.mrc) file"),
255
            save: function( id, record, done ) {
255
            save: function( id, record, done ) {
256
                saveAs( new Blob( [record.toISO2709()], { 'type': 'application/octet-stream;charset=utf-8' } ), 'record.mrc' );
256
                saveAs( new Blob( [record.toISO2709()], { 'type': 'application/octet-stream;charset=utf-8' } ), 'record.mrc' );
257
257
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc (-3 / +3 lines)
Lines 53-60 Link Here
53
                    <fieldset>
53
                    <fieldset>
54
                        <label for="issues-table-output-format"><b>Export checkouts using format:</b></label>
54
                        <label for="issues-table-output-format"><b>Export checkouts using format:</b></label>
55
                        <select name="issues-table-output-format" id="issues-table-output-format">
55
                        <select name="issues-table-output-format" id="issues-table-output-format">
56
                            <option value="iso2709_995">ISO2709 with items</option>
56
                            <option value="iso2709_995">MARC with items</option>
57
                            <option value="iso2709">ISO2709 without items</option>
57
                            <option value="iso2709">MARC without items</option>
58
                            [% IF csv_profiles.size %]
58
                            [% IF csv_profiles.size %]
59
                                <option value="csv">CSV</option>
59
                                <option value="csv">CSV</option>
60
                            [% END %]
60
                            [% END %]
Lines 67-73 Link Here
67
                                [% END %]
67
                                [% END %]
68
                            </select>
68
                            </select>
69
                        [% END %]
69
                        [% END %]
70
                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') %]" title="Use for iso2709 exports" />
70
                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') %]" title="Use for MARC exports" />
71
                        <input type="hidden" name="op" value="export" />
71
                        <input type="hidden" name="op" value="export" />
72
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
72
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
73
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
73
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc (-1 / +1 lines)
Lines 17-23 Link Here
17
        <div class="btn-group">
17
        <div class="btn-group">
18
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button>
18
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button>
19
                <ul class="dropdown-menu">
19
                <ul class="dropdown-menu">
20
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber %]">iso2709</a></li>
20
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber %]">MARC</a></li>
21
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber %]">RIS</a></li>
21
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber %]">RIS</a></li>
22
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&amp;shelfid=[% shelf.shelfnumber %]">BibTex</a></li>
22
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&amp;shelfid=[% shelf.shelfnumber %]">BibTex</a></li>
23
                    [% FOREACH csv_profile IN csv_profiles %]
23
                    [% FOREACH csv_profile IN csv_profiles %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-1 / +1 lines)
Lines 18-24 Link Here
18
<body id="acq_addorderiso2709" class="acq">
18
<body id="acq_addorderiso2709" class="acq">
19
[% INCLUDE 'header.inc' %]
19
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'acquisitions-search.inc' %]
20
[% INCLUDE 'acquisitions-search.inc' %]
21
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> &rsaquo;  Add orders from iso2709 file</div>
21
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% booksellername %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno %]">Basket [% basketno %]</a> &rsaquo;  Add orders from MARC file</div>
22
22
23
    <div class="container-fluid">
23
    <div class="container-fluid">
24
        <div class="row">
24
        <div class="row">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +1 lines)
Lines 136-142 Circulation: Link Here
136
                  no: "Don't show"
136
                  no: "Don't show"
137
            - the export patron checkout history options.
137
            - the export patron checkout history options.
138
        -
138
        -
139
            - The following fields should be excluded from the patron checkout history CSV or iso2709 export
139
            - The following fields should be excluded from the patron checkout history CSV or MARC (ISO 2709) export
140
            - pref: ExportRemoveFields
140
            - pref: ExportRemoveFields
141
            - (separate fields with space, e.g. 100a 200b 300c)
141
            - (separate fields with space, e.g. 100a 200b 300c)
142
        -
142
        -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
    <div class="btn-group">
49
    <div class="btn-group">
50
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a>
50
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a>
51
        <ul class="dropdown-menu">
51
        <ul class="dropdown-menu">
52
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list %]">iso2709</a></li>
52
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list %]">MARC</a></li>
53
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list %]">RIS</a></li>
53
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list %]">RIS</a></li>
54
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list %]">BibTex</a></li>
54
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list %]">BibTex</a></li>
55
        [% FOREACH csv_profile IN csv_profiles %]
55
        [% FOREACH csv_profile IN csv_profiles %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt (-1 / +1 lines)
Lines 13-19 Link Here
13
	<label for="format">Format:</label>
13
	<label for="format">Format:</label>
14
        <select name="format" id="format">
14
        <select name="format" id="format">
15
        <option value="">-- Choose format --</option>
15
        <option value="">-- Choose format --</option>
16
	    <option value="iso2709">iso2709</option>
16
	    <option value="iso2709">MARC</option>
17
	    <option value="ris">RIS</option>
17
	    <option value="ris">RIS</option>
18
	    <option value="bibtex">BibTex</option>
18
	    <option value="bibtex">BibTex</option>
19
	    [% FOREACH csv_profile IN csv_profiles %]
19
	    [% FOREACH csv_profile IN csv_profiles %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt (-1 / +1 lines)
Lines 41-47 Link Here
41
            <ul class="dropdown-menu" id="save-dropdown">
41
            <ul class="dropdown-menu" id="save-dropdown">
42
            </ul>
42
            </ul>
43
        </div>
43
        </div>
44
        <button class="btn btn-default btn-sm" id="import-records" title="Import an ISO2709 or MARCXML record"><i class="fa fa-download"></i> <span>Import record...</span></button>
44
        <button class="btn btn-default btn-sm" id="import-records" title="Import an MARC (ISO 2709) or MARCXML record"><i class="fa fa-download"></i> <span>Import record...</span></button>
45
        <button class="btn btn-default btn-sm" id="open-macros" title="Run and edit macros"><i class="fa fa-play"></i> <span>Macros...</span></button>
45
        <button class="btn btn-default btn-sm" id="open-macros" title="Run and edit macros"><i class="fa fa-play"></i> <span>Macros...</span></button>
46
        <div class="btn-group">
46
        <div class="btn-group">
47
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
47
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/circ/circulation.tt (-1 / +1 lines)
Lines 32-38 Link Here
32
32
33
<p>If you checked out an item for on site use you will see that highlighted in red in the checkout summary.</p>
33
<p>If you checked out an item for on site use you will see that highlighted in red in the checkout summary.</p>
34
34
35
<p>If you have set your ExportCircHistory preference, you will also see the option to export the patron's current checkout information using a CSV Profile or ISO2709 (MARC21) format.</p>
35
<p>If you have set your ExportCircHistory preference, you will also see the option to export the patron's current checkout information using a CSV Profile or MARC format.</p>
36
36
37
<p>Also at the bottom of the page is the list of items the patron has on hold</p>
37
<p>Also at the bottom of the page is the list of items the patron has on hold</p>
38
38
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-4 / +4 lines)
Lines 138-149 Link Here
138
        <ol><li>
138
        <ol><li>
139
            <label for="output_format">File format: </label>
139
            <label for="output_format">File format: </label>
140
            <select id="output_format" name="output_format">
140
            <select id="output_format" name="output_format">
141
                <option value="iso2709">marc</option>
141
                <option value="iso2709">MARC</option>
142
                <option value="xml">xml</option>
142
                <option value="xml">XML</option>
143
                [% IF csv_profiles %]
143
                [% IF csv_profiles %]
144
                    <option value="csv">csv</option>
144
                    <option value="csv">CSV</option>
145
                [% ELSE %]
145
                [% ELSE %]
146
                    <option value="csv" disabled data-toggle="tooltip" data-placement="left" title="You must create a CSV profile for MARC exports to use this option.">csv</option>
146
                    <option value="csv" disabled data-toggle="tooltip" data-placement="left" title="You must create a CSV profile for MARC exports to use this option.">CSV</option>
147
                [% END %]
147
                [% END %]
148
            </select>
148
            </select>
149
        </li>
149
        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt (-2 / +1 lines)
Lines 30-36 Link Here
30
    <label for="format">Format: </label>
30
    <label for="format">Format: </label>
31
        <select name="format" id="format">
31
        <select name="format" id="format">
32
        <option value="">-- Choose format --</option>
32
        <option value="">-- Choose format --</option>
33
	    <option value="iso2709">iso2709</option>
33
	    <option value="iso2709">MARC</option>
34
	    <option value="ris">RIS</option>
34
	    <option value="ris">RIS</option>
35
	    <option value="bibtex">BibTex</option>
35
	    <option value="bibtex">BibTex</option>
36
	    [% FOREACH csv_profile IN csv_profiles %]
36
	    [% FOREACH csv_profile IN csv_profiles %]
37
- 

Return to bug 14786