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 259-265 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
259
            }
259
            }
260
        },
260
        },
261
        'iso2709': {
261
        'iso2709': {
262
            saveLabel: _("Save as ISO2709 (.mrc) file"),
262
            saveLabel: _("Save as MARC (.mrc) file"),
263
            save: function( id, record, done ) {
263
            save: function( id, record, done ) {
264
                saveAs( new Blob( [record.toISO2709()], { 'type': 'application/octet-stream;charset=utf-8' } ), 'record.mrc' );
264
                saveAs( new Blob( [record.toISO2709()], { 'type': 'application/octet-stream;charset=utf-8' } ), 'record.mrc' );
265
265
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc (-3 / +3 lines)
Lines 54-61 Link Here
54
                    <fieldset>
54
                    <fieldset>
55
                        <label for="issues-table-output-format"><b>Export checkouts using format:</b></label>
55
                        <label for="issues-table-output-format"><b>Export checkouts using format:</b></label>
56
                        <select name="issues-table-output-format" id="issues-table-output-format">
56
                        <select name="issues-table-output-format" id="issues-table-output-format">
57
                            <option value="iso2709_995">ISO2709 with items</option>
57
                            <option value="iso2709_995">MARC with items</option>
58
                            <option value="iso2709">ISO2709 without items</option>
58
                            <option value="iso2709">MARC without items</option>
59
                            [% IF csv_profiles.size %]
59
                            [% IF csv_profiles.size %]
60
                                <option value="csv">CSV</option>
60
                                <option value="csv">CSV</option>
61
                            [% END %]
61
                            [% END %]
Lines 68-74 Link Here
68
                                [% END %]
68
                                [% END %]
69
                            </select>
69
                            </select>
70
                        [% END %]
70
                        [% END %]
71
                       <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') | html %]" title="Use for iso2709 exports" />
71
                       <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') | html %]" title="Use for MARC exports" />
72
                        <input type="hidden" name="op" value="export" />
72
                        <input type="hidden" name="op" value="export" />
73
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
73
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
74
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
74
                        <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 | html %]">iso2709</a></li>
20
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber | html %]">MARC</a></li>
21
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber | html %]">RIS</a></li>
21
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber | html %]">RIS</a></li>
22
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&amp;shelfid=[% shelf.shelfnumber | html %]">BibTex</a></li>
22
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&amp;shelfid=[% shelf.shelfnumber | html %]">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 (-2 / +1 lines)
Lines 19-26 Link Here
19
<body id="acq_addorderiso2709" class="acq">
19
<body id="acq_addorderiso2709" class="acq">
20
[% INCLUDE 'header.inc' %]
20
[% INCLUDE 'header.inc' %]
21
[% INCLUDE 'acquisitions-search.inc' %]
21
[% INCLUDE 'acquisitions-search.inc' %]
22
<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 | html %]">[% booksellername | html %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Basket [% basketno | html %]</a> &rsaquo;  Add orders from iso2709 file</div>
22
<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 | html %]">[% booksellername | html %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Basket [% basketno | html %]</a> &rsaquo; Add orders from MARC file</div>
23
24
    <div class="container-fluid">
23
    <div class="container-fluid">
25
        <div class="row">
24
        <div class="row">
26
            <div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2">
25
            <div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2">
(-)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 50-56 Link Here
50
                        <div class="btn-group">
50
                        <div class="btn-group">
51
                            <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
                            <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>
52
                            <ul class="dropdown-menu">
52
                            <ul class="dropdown-menu">
53
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list | html %]">iso2709</a></li>
53
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list | html %]">MARC</a></li>
54
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list | html %]">RIS</a></li>
54
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list | html %]">RIS</a></li>
55
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list | html %]">BibTex</a></li>
55
                                <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list | html %]">BibTex</a></li>
56
                            [% FOREACH csv_profile IN csv_profiles %]
56
                            [% 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 42-48 Link Here
42
            <ul class="dropdown-menu" id="save-dropdown">
42
            <ul class="dropdown-menu" id="save-dropdown">
43
            </ul>
43
            </ul>
44
        </div>
44
        </div>
45
        <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>
45
        <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>
46
        <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
        <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>
47
        <div class="btn-group">
47
        <div class="btn-group">
48
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
48
            <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/tools/export.tt (-4 / +4 lines)
Lines 139-150 Link Here
139
        <ol><li>
139
        <ol><li>
140
            <label for="output_format">File format: </label>
140
            <label for="output_format">File format: </label>
141
            <select id="output_format" name="output_format">
141
            <select id="output_format" name="output_format">
142
                <option value="iso2709">marc</option>
142
                <option value="iso2709">MARC</option>
143
                <option value="xml">xml</option>
143
                <option value="xml">XML</option>
144
                [% IF csv_profiles %]
144
                [% IF csv_profiles %]
145
                    <option value="csv">csv</option>
145
                    <option value="csv">CSV</option>
146
                [% ELSE %]
146
                [% ELSE %]
147
                    <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
                    <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>
148
                [% END %]
148
                [% END %]
149
            </select>
149
            </select>
150
        </li>
150
        </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