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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-43 / +44 lines)
Lines 1-30 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% BLOCK controls %]
4
[% BLOCK controls %]
4
    <p style="padding: 7px 0; border-top : 1px solid #E8E8E8;">
5
    <p style="padding: 7px 0; border-top : 1px solid #E8E8E8;">
5
        <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a>
6
        <a id="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a>
6
        | <b>Selected items :</b>
7
        | <b>[% t('Selected items :') %]</b>
7
        <a href="#" id="remove_from_cart">Remove</a>
8
        <a href="#" id="remove_from_cart">[% t('Remove') %]</a>
8
9
9
        [% IF ( loggedinusername ) %]
10
        [% IF ( loggedinusername ) %]
10
             | <a href="#" id="add_to_list">Add to a list</a>
11
             | <a href="#" id="add_to_list">[% t('Add to a list') %]</a>
11
        [% END %]
12
        [% END %]
12
13
13
        [% IF ( CAN_user_reserveforothers ) %]
14
        [% IF ( CAN_user_reserveforothers ) %]
14
             | <a href="#" id="place_hold">Place hold</a>
15
             | <a href="#" id="place_hold">[% t('Place hold') %]</a>
15
        [% END %]
16
        [% END %]
16
17
17
        [% IF CAN_user_tools_records_batchmod %]
18
        [% IF CAN_user_tools_records_batchmod %]
18
            | <a href="#" id="batch_modify">Batch modify</a>
19
            | <a href="#" id="batch_modify">[% t('Batch modify') %]</a>
19
        [% END %]
20
        [% END %]
20
21
21
        [% IF CAN_user_tools_records_batchdel %]
22
        [% IF CAN_user_tools_records_batchdel %]
22
            | <a href="#" id="batch_delete">Batch delete</a>
23
            | <a href="#" id="batch_delete">[% t('Batch delete') %]</a>
23
        [% END %]
24
        [% END %]
24
    </p>
25
    </p>
25
[% END %]
26
[% END %]
26
[% INCLUDE 'doc-head-open.inc' %]
27
[% INCLUDE 'doc-head-open.inc' %]
27
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog &rsaquo; Your cart</title>
28
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('Catalog › Your cart') %]</title>
28
    [% IF ( print_basket ) %]
29
    [% IF ( print_basket ) %]
29
30
30
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
31
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 44-73 Link Here
44
45
45
<div class="container">
46
<div class="container">
46
[% UNLESS ( print_basket ) %]
47
[% UNLESS ( print_basket ) %]
47
<h1>Your cart</h1>
48
<h1>[% t('Your cart') %]</h1>
48
49
49
<div id="toolbar" class="btn-toolbar">
50
<div id="toolbar" class="btn-toolbar">
50
    [% IF ( verbose ) %]
51
    [% IF ( verbose ) %]
51
        <a href="basket.pl" class="btn btn-default btn-sm showdetails showless"><i class="fa fa-folder"></i> Brief display</a>
52
        <a href="basket.pl" class="btn btn-default btn-sm showdetails showless"><i class="fa fa-folder"></i> [% t('Brief display') %]</a>
52
    [% ELSE %]
53
    [% ELSE %]
53
        <a href="basket.pl" class="btn btn-default btn-sm showdetails showmore"><i class="fa fa-folder-open"></i> More details</a>
54
        <a href="basket.pl" class="btn btn-default btn-sm showdetails showmore"><i class="fa fa-folder-open"></i> [% t('More details') %]</a>
54
    [% END %]
55
    [% END %]
55
56
56
    <a class="btn btn-default btn-sm" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a>
57
    <a class="btn btn-default btn-sm" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> [% t('Send') %]</a>
57
    <div class="btn-group">
58
    <div class="btn-group">
58
        <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>
59
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> [% t('Download') %] <span class="caret"></span> </a>
59
        <ul class="dropdown-menu">
60
        <ul class="dropdown-menu">
60
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&amp;bib_list=[% bib_list %]">iso2709</a></li>
61
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]">[% t('iso2709') %]</a></li>
61
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&amp;bib_list=[% bib_list %]">RIS</a></li>
62
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]">[% t('RIS') %]</a></li>
62
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&amp;bib_list=[% bib_list %]">BibTex</a></li>
63
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]">[% t('BibTex') %]</a></li>
63
        [% FOREACH csv_profile IN csv_profiles %]
64
        [% FOREACH csv_profile IN csv_profiles %]
64
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&amp;bib_list=[% bib_list %]">CSV - [% csv_profile.profile %]</a></li>
65
            <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]">[% t('CSV -') %] [% csv_profile.profile %]</a></li>
65
        [% END %]
66
        [% END %]
66
        </ul>
67
        </ul>
67
    </div>
68
    </div>
68
    <a class="btn btn-default btn-sm" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a>
69
    <a class="btn btn-default btn-sm" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> [% t('Print') %]</a>
69
    <a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a>
70
    <a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> [% t('Empty and close') %]</a>
70
    <a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a>
71
    <a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> [% t('Hide window') %]</a>
71
</div>
72
</div>
72
        [% END %]
73
        [% END %]
73
74
Lines 90-107 Link Here
90
        [% END %]
91
        [% END %]
91
    </h3>
92
    </h3>
92
	    <!-- COinS / Openurl -->
93
	    <!-- COinS / Openurl -->
93
    <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
94
    <span class="Z3988" title="[% t('ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=') %][% BIBLIO_RESULT.author %][% t('&amp;rft.btitle=') %][% BIBLIO_RESULT.title |url %][% t('&amp;rft.date=') %][% BIBLIO_RESULT.publicationyear %][% t('&amp;rft.tpages=') %][% BIBLIO_RESULT.item('size') %][% t('&amp;rft.isbn=') %][% BIBLIO_RESULT.isbn |url %][% t('&amp;rft.aucorp=&amp;rft.place=') %][% BIBLIO_RESULT.place %][% t('&amp;rft.pub=') %][% BIBLIO_RESULT.publisher |url %][% t('&amp;rft.edition=') %][% BIBLIO_RESULT.edition %][% t('&amp;rft.series=') %][% BIBLIO_RESULT.series %][% t('&amp;rft.genre=') %]"></span>
94
    <table>
95
    <table>
95
        [% IF ( BIBLIO_RESULT.isbn ) %]
96
        [% IF ( BIBLIO_RESULT.isbn ) %]
96
        <tr>
97
        <tr>
97
            <th scope="row">ISBN</th>
98
            <th scope="row">[% t('ISBN') %]</th>
98
            <td>[% BIBLIO_RESULT.isbn %]</td>
99
            <td>[% BIBLIO_RESULT.isbn %]</td>
99
        </tr>
100
        </tr>
100
        [% END %]
101
        [% END %]
101
102
102
        [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
103
        [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
103
        <tr>
104
        <tr>
104
            <th scope="row">Author(s)</th>
105
            <th scope="row">[% t('Author(s)') %]</th>
105
            <td>
106
            <td>
106
                   [% IF ( BIBLIO_RESULT.author ) %]
107
                   [% IF ( BIBLIO_RESULT.author ) %]
107
                       <p>[% BIBLIO_RESULT.author %]</p>
108
                       <p>[% BIBLIO_RESULT.author %]</p>
Lines 121-147 Link Here
121
122
122
        [% IF ( BIBLIO_RESULT.publishercode ) %]
123
        [% IF ( BIBLIO_RESULT.publishercode ) %]
123
            <tr>
124
            <tr>
124
                <th scope="row">Publisher</th>
125
                <th scope="row">[% t('Publisher') %]</th>
125
                <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %]
126
                <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %]
126
                </td>
127
                </td>
127
            </tr>
128
            </tr>
128
        [% END %]
129
        [% END %]
129
        [% IF ( BIBLIO_RESULT.pages ) %]
130
        [% IF ( BIBLIO_RESULT.pages ) %]
130
            <tr>
131
            <tr>
131
                <th scope="row">Details</th>
132
                <th scope="row">[% t('Details') %]</th>
132
                <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td>
133
                <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td>
133
            </tr>
134
            </tr>
134
        [% END %]
135
        [% END %]
135
        [% IF ( BIBLIO_RESULT.seriestitle ) %]
136
        [% IF ( BIBLIO_RESULT.seriestitle ) %]
136
        <tr>
137
        <tr>
137
            <th scope="row">Collection</th>
138
            <th scope="row">[% t('Collection') %]</th>
138
            <td> [% BIBLIO_RESULT.seriestitle %]</td>
139
            <td> [% BIBLIO_RESULT.seriestitle %]</td>
139
        </tr>
140
        </tr>
140
        [% END %]
141
        [% END %]
141
142
142
        [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
143
        [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
143
        <tr>
144
        <tr>
144
            <th scope="row">Subject(s)</th>
145
            <th scope="row">[% t('Subject(s)') %]</th>
145
            <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
146
            <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
146
                   <p> [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
147
                   <p> [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
147
                        [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %]
148
                        [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %]
Lines 151-164 Link Here
151
        [% END %]
152
        [% END %]
152
153
153
        [% IF ( BIBLIO_RESULT.copyrightdate ) %]
154
        [% IF ( BIBLIO_RESULT.copyrightdate ) %]
154
            <tr><th scope="row">Copyright</th>
155
            <tr><th scope="row">[% t('Copyright') %]</th>
155
                <td> [% BIBLIO_RESULT.copyrightdate %]</td>
156
                <td> [% BIBLIO_RESULT.copyrightdate %]</td>
156
            </tr>
157
            </tr>
157
        [% END %]
158
        [% END %]
158
159
159
        [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
160
        [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
160
        <tr>
161
        <tr>
161
            <th scope="row">Notes</th>
162
            <th scope="row">[% t('Notes') %]</th>
162
            <td>
163
            <td>
163
            [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
164
            [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
164
                <p>
165
                <p>
Lines 174-204 Link Here
174
175
175
        [% IF ( BIBLIO_RESULT.unititle ) %]
176
        [% IF ( BIBLIO_RESULT.unititle ) %]
176
        <tr>
177
        <tr>
177
            <th scope="row">Unified title</th>
178
            <th scope="row">[% t('Unified title') %]</th>
178
            <td> [% BIBLIO_RESULT.unititle %]</td>
179
            <td> [% BIBLIO_RESULT.unititle %]</td>
179
        </tr>
180
        </tr>
180
        [% END %]
181
        [% END %]
181
        [% IF ( BIBLIO_RESULT.serial ) %]
182
        [% IF ( BIBLIO_RESULT.serial ) %]
182
        <tr>
183
        <tr>
183
            <th scope="row">Serial</th>
184
            <th scope="row">[% t('Serial') %]</th>
184
            <td>[% BIBLIO_RESULT.serial %]</td>
185
            <td>[% BIBLIO_RESULT.serial %]</td>
185
        </tr>
186
        </tr>
186
        [% END %]
187
        [% END %]
187
        [% IF ( BIBLIO_RESULT.dewey ) %]
188
        [% IF ( BIBLIO_RESULT.dewey ) %]
188
        <tr>
189
        <tr>
189
            <th scope="row">Dewey</th>
190
            <th scope="row">[% t('Dewey') %]</th>
190
            <td>[% BIBLIO_RESULT.dewey %]</td>
191
            <td>[% BIBLIO_RESULT.dewey %]</td>
191
        </tr>
192
        </tr>
192
        [% END %]
193
        [% END %]
193
        [% IF ( BIBLIO_RESULT.classification ) %]
194
        [% IF ( BIBLIO_RESULT.classification ) %]
194
        <tr>
195
        <tr>
195
            <th scope="row">Classification</th>
196
            <th scope="row">[% t('Classification') %]</th>
196
            <td> [% BIBLIO_RESULT.classification %]</td>
197
            <td> [% BIBLIO_RESULT.classification %]</td>
197
        </tr>
198
        </tr>
198
        [% END %]
199
        [% END %]
199
        [% IF ( BIBLIO_RESULT.lccn ) %]
200
        [% IF ( BIBLIO_RESULT.lccn ) %]
200
        <tr>
201
        <tr>
201
            <th scope="row">LCCN</th>
202
            <th scope="row">[% t('LCCN') %]</th>
202
            <td> [% BIBLIO_RESULT.lccn %]</td>
203
            <td> [% BIBLIO_RESULT.lccn %]</td>
203
        </tr>
204
        </tr>
204
        [% END %]
205
        [% END %]
Lines 206-212 Link Here
206
207
207
        [% IF BIBLIO_RESULT.MARCURLS.size %]
208
        [% IF BIBLIO_RESULT.MARCURLS.size %]
208
            <tr>
209
            <tr>
209
                <th scope="row">URL(s)</th>
210
                <th scope="row">[% t('URL(s)') %]</th>
210
                <td>
211
                <td>
211
                   [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
212
                   [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
212
                        [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %]
213
                        [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %]
Lines 220-226 Link Here
220
        [% END %]
221
        [% END %]
221
222
222
        <tr>
223
        <tr>
223
            <th scope="row">Location(s)</th>
224
            <th scope="row">[% t('Location(s)') %]</th>
224
            <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
225
            <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
225
                <p>
226
                <p>
226
                    [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %]
227
                    [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %]
Lines 228-234 Link Here
228
                        ([% ITEM_RESULT.itemcallnumber %])
229
                        ([% ITEM_RESULT.itemcallnumber %])
229
                    [% END %]
230
                    [% END %]
230
                </p>
231
                </p>
231
                [% END %][% ELSE %]This record has no items.[% END %]</td>
232
                [% END %][% ELSE %][% t('This record has no items.') %][% END %]</td>
232
        </tr>
233
        </tr>
233
    </table>
234
    </table>
234
    [% END %]
235
    [% END %]
Lines 242-251 Link Here
242
243
243
    <table id="itemst">
244
    <table id="itemst">
244
	<thead><tr>
245
	<thead><tr>
245
        [% UNLESS ( print_basket ) %]<th class="NoSort">&nbsp;</th>[% END %]
246
        [% UNLESS ( print_basket ) %]<th class="NoSort"> </th>[% END %]
246
        <th class="anti-the">Title</th>
247
        <th class="anti-the">[% t('Title') %]</th>
247
        <th>Item type</th>
248
        <th>[% t('Item type') %]</th>
248
        <th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a></th>
249
        <th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="[% t('Item sorting') %]" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">[% t('Items') %]</a></th>
249
        </tr></thead>
250
        </tr></thead>
250
251
251
        [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
252
        [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
Lines 267-273 Link Here
267
                        <p>[% BIBLIO_RESULT.notes %]</p>
268
                        <p>[% BIBLIO_RESULT.notes %]</p>
268
                        [% END %]
269
                        [% END %]
269
						    <!-- COinS / Openurl -->
270
						    <!-- COinS / Openurl -->
270
    <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition %]&amp;rft.series=[% BIBLIO_RESULT.series %]&amp;rft.genre="></span>
271
    <span class="Z3988" title="[% t('ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=') %][% BIBLIO_RESULT.author %][% t('&amp;rft.btitle=') %][% BIBLIO_RESULT.title |url %][% t('&amp;rft.date=') %][% BIBLIO_RESULT.publicationyear %][% t('&amp;rft.tpages=') %][% BIBLIO_RESULT.item('size') %][% t('&amp;rft.isbn=') %][% BIBLIO_RESULT.isbn |url %][% t('&amp;rft.aucorp=&amp;rft.place=') %][% BIBLIO_RESULT.place %][% t('&amp;rft.pub=') %][% BIBLIO_RESULT.publisher |url %][% t('&amp;rft.edition=') %][% BIBLIO_RESULT.edition %][% t('&amp;rft.series=') %][% BIBLIO_RESULT.series %][% t('&amp;rft.genre=') %]"></span>
271
272
272
						</td>
273
						</td>
273
            <td>[% BIBLIO_RESULT.description %]</td>
274
            <td>[% BIBLIO_RESULT.description %]</td>
Lines 277-283 Link Here
277
                        <div><span class="nowrap"><strong><span class="callnumber">[% ITEM_RESULT.itemcallnumber %]</span></strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div>
278
                        <div><span class="nowrap"><strong><span class="callnumber">[% ITEM_RESULT.itemcallnumber %]</span></strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div>
278
                    [% END %]
279
                    [% END %]
279
                [% ELSE %]
280
                [% ELSE %]
280
                    This record has no items.
281
                    [% t('This record has no items.') %]
281
                [% END %]
282
                [% END %]
282
            </td>
283
            </td>
283
            </tr>
284
            </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt (-10 / +11 lines)
Lines 1-23 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Download cart</title>
3
<title>[% t('Koha › Download cart') %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
5
<body style="padding:1em;" id="cart_downloadcart" class="cart">
6
<body style="padding:1em;" id="cart_downloadcart" class="cart">
6
[% IF ( format ) %]
7
[% IF ( format ) %]
7
    <p>Your download should begin automatically.</p>
8
    <p>[% t('Your download should begin automatically.') %]</p>
8
[% ELSE %]
9
[% ELSE %]
9
<form method="post" action="/cgi-bin/koha/basket/downloadcart.pl">
10
<form method="post" action="/cgi-bin/koha/basket/downloadcart.pl">
10
<fieldset class="rows">
11
<fieldset class="rows">
11
	<legend>Download cart</legend>
12
	<legend>[% t('Download cart') %]</legend>
12
	<ol><li>
13
	<ol><li>
13
	<label for="format">Format:</label>
14
	<label for="format">[% t('Format:') %]</label>
14
        <select name="format" id="format">
15
        <select name="format" id="format">
15
        <option value="">-- Choose format --</option>
16
        <option value="">[% t('-- Choose format --') %]</option>
16
	    <option value="iso2709">iso2709</option>
17
	    <option value="iso2709">[% t('iso2709') %]</option>
17
	    <option value="ris">RIS</option>
18
	    <option value="ris">[% t('RIS') %]</option>
18
	    <option value="bibtex">BibTex</option>
19
	    <option value="bibtex">[% t('BibTex') %]</option>
19
	    [% FOREACH csv_profile IN csv_profiles %]
20
	    [% FOREACH csv_profile IN csv_profiles %]
20
	    <option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
21
	    <option value="[% csv_profile.export_format_id %]">[% t('CSV -') %] [% csv_profile.profile %]</option>
21
	    [% END %]
22
	    [% END %]
22
23
23
	</select></li>
24
	</select></li>
Lines 25-31 Link Here
25
	</fieldset>
26
	</fieldset>
26
	<fieldset class="action">
27
	<fieldset class="action">
27
	<input type="hidden" name="bib_list" value="[% bib_list %]" />
28
	<input type="hidden" name="bib_list" value="[% bib_list %]" />
28
	<input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">Cancel</a>
29
	<input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">[% t('Cancel') %]</a>
29
	</fieldset>
30
	</fieldset>
30
    </form>
31
    </form>
31
32
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt (-43 / +44 lines)
Lines 1-30 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE HtmlToText %]
2
[% USE HtmlToText %]
2
[% USE Koha %]
3
[% USE Koha %]
3
4
4
<SUBJECT>
5
<subject>
5
Your cart
6
[% t('Your cart') %]
6
<END_SUBJECT>
7
<end_subject>
7
8
8
<HEADER>
9
<header>
9
10
10
[% FILTER html2text %]
11
[% FILTER html2text %]
11
    <p>Hi,</p>
12
    <p>[% t('Hi,') %]</p>
12
13
13
    <p>Here is your cart, sent from our online catalog.</p>
14
    <p>[% t('Here is your cart, sent from our online catalog.') %]</p>
14
15
15
    <p>Please note that the attached file is a MARC bibliographic records file
16
    <p>[% t('Please note that the attached file is a MARC bibliographic records file') %]
16
    which can be imported into personal bibliographic software like EndNote,
17
    [% t('which can be imported into personal bibliographic software like EndNote,') %]
17
    Reference Manager or ProCite.</p>
18
    [% t('Reference Manager or ProCite.') %]</p>
18
    <hr/>
19
    <hr />
19
[% END %]
20
[% END %]
20
<END_HEADER>
21
<end_header>
21
22
22
<MESSAGE>
23
<message>
23
[% FILTER html2text %]
24
[% FILTER html2text %]
24
25
25
    [% IF comment %]
26
    [% IF comment %]
26
        <p>[% comment %]</p>
27
        <p>[% comment %]</p>
27
        <hr/>
28
        <hr />
28
    [% END %]
29
    [% END %]
29
    <ol>
30
    <ol>
30
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
31
    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
Lines 36-42 Your cart Link Here
36
37
37
            <p>
38
            <p>
38
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
39
            [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
39
            <span>Author(s): [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
40
            <span>[% t('Author(s):') %] [% IF ( BIBLIO_RESULT.author ) %][% BIBLIO_RESULT.author %][% END %]
40
41
41
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
42
            [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
42
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
43
                [% IF ( BIBLIO_RESULT.author ) %]; [% END %]
Lines 47-66 Your cart Link Here
47
                    [% UNLESS ( loop.last ) %];[% END %]
48
                    [% UNLESS ( loop.last ) %];[% END %]
48
                [% END %]
49
                [% END %]
49
            [% END %]
50
            [% END %]
50
            </span><br/>
51
            </span><br />
51
            [% END %]
52
            [% END %]
52
53
53
            [% IF ( BIBLIO_RESULT.ISBN ) %]
54
            [% IF ( BIBLIO_RESULT.ISBN ) %]
54
            <span>
55
            <span>
55
                ISBN: [% BIBLIO_RESULT.ISBN %]
56
                [% t('ISBN:') %] [% BIBLIO_RESULT.ISBN %]
56
            </span><br/>
57
            </span><br />
57
            [% END %]
58
            [% END %]
58
59
59
            [% IF BIBLIO_RESULT.publishercode %]
60
            [% IF BIBLIO_RESULT.publishercode %]
60
            <span>
61
            <span>
61
                Published by: [% BIBLIO_RESULT.publishercode %]
62
                [% t('Published by:') %] [% BIBLIO_RESULT.publishercode %]
62
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
63
                [% IF ( BIBLIO_RESULT.publicationyear ) %]
63
                    in [% BIBLIO_RESULT.publicationyear %]
64
                    [% t('in') %] [% BIBLIO_RESULT.publicationyear %]
64
                [% END %]
65
                [% END %]
65
                [% IF ( BIBLIO_RESULT.pages ) %]
66
                [% IF ( BIBLIO_RESULT.pages ) %]
66
                    , [% BIBLIO_RESULT.pages %]
67
                    , [% BIBLIO_RESULT.pages %]
Lines 68-132 Your cart Link Here
68
                [% IF BIBLIO_RESULT.item('size') %]
69
                [% IF BIBLIO_RESULT.item('size') %]
69
                , [% BIBLIO_RESULT.item('size') %]
70
                , [% BIBLIO_RESULT.item('size') %]
70
                [% END %]
71
                [% END %]
71
            </span><br/>
72
            </span><br />
72
            [% END %]
73
            [% END %]
73
74
74
            [% IF BIBLIO_RESULT.collection %]
75
            [% IF BIBLIO_RESULT.collection %]
75
            <span>
76
            <span>
76
                Collection: [% BIBLIO_RESULT.seriestitle %]
77
                [% t('Collection:') %] [% BIBLIO_RESULT.seriestitle %]
77
            </span><br/>
78
            </span><br />
78
            [% END %]
79
            [% END %]
79
80
80
            [% IF ( BIBLIO_RESULT.subject ) %]
81
            [% IF ( BIBLIO_RESULT.subject ) %]
81
            <span>
82
            <span>
82
                Subject: [% BIBLIO_RESULT.subject %]
83
                [% t('Subject:') %] [% BIBLIO_RESULT.subject %]
83
            <span><br/>
84
            <span><br />
84
            [% END %]
85
            [% END %]
85
86
86
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
87
            [% IF ( BIBLIO_RESULT.copyrightdate ) %]
87
            <span>
88
            <span>
88
                Copyright year: [% BIBLIO_RESULT.copyrightdate %]
89
                [% t('Copyright year:') %] [% BIBLIO_RESULT.copyrightdate %]
89
            </span><br/>
90
            </span><br />
90
            [% END %]
91
            [% END %]
91
92
92
            [% IF ( BIBLIO_RESULT.notes ) %]
93
            [% IF ( BIBLIO_RESULT.notes ) %]
93
            <span>
94
            <span>
94
                Notes : [% BIBLIO_RESULT.notes %]
95
                [% t('Notes :') %] [% BIBLIO_RESULT.notes %]
95
            </span><br/>
96
            </span><br />
96
            [% END %]
97
            [% END %]
97
98
98
            [% IF ( BIBLIO_RESULT.unititle ) %]
99
            [% IF ( BIBLIO_RESULT.unititle ) %]
99
            <span>
100
            <span>
100
                Unified title: [% BIBLIO_RESULT.unititle %]
101
                [% t('Unified title:') %] [% BIBLIO_RESULT.unititle %]
101
            </span><br/>
102
            </span><br />
102
            [% END %]
103
            [% END %]
103
104
104
            [% IF ( BIBLIO_RESULT.serial ) %]
105
            [% IF ( BIBLIO_RESULT.serial ) %]
105
            <span>
106
            <span>
106
                Serial: [% BIBLIO_RESULT.serial %]
107
                [% t('Serial:') %] [% BIBLIO_RESULT.serial %]
107
            </span><br/>
108
            </span><br />
108
            [% END %]
109
            [% END %]
109
110
110
            [% IF ( BIBLIO_RESULT.dewey ) %]
111
            [% IF ( BIBLIO_RESULT.dewey ) %]
111
            <span>
112
            <span>
112
                Dewey: [% BIBLIO_RESULT.dewey %]
113
                [% t('Dewey:') %] [% BIBLIO_RESULT.dewey %]
113
            </span><br/>
114
            </span><br />
114
            [% END %]
115
            [% END %]
115
116
116
            [% IF ( BIBLIO_RESULT.classification ) %]
117
            [% IF ( BIBLIO_RESULT.classification ) %]
117
            <span>
118
            <span>
118
                Classification: [% BIBLIO_RESULT.classification %]
119
                [% t('Classification:') %] [% BIBLIO_RESULT.classification %]
119
            </span><br/>
120
            </span><br />
120
            [% END %]
121
            [% END %]
121
122
122
            [% IF ( BIBLIO_RESULT.lccn ) %]
123
            [% IF ( BIBLIO_RESULT.lccn ) %]
123
            <span>
124
            <span>
124
                LCCN: [% BIBLIO_RESULT.lccn %]
125
                [% t('LCCN:') %] [% BIBLIO_RESULT.lccn %]
125
            </span><br/>
126
            </span><br />
126
            [% END %]
127
            [% END %]
127
            [% IF ( BIBLIO_RESULT.url ) %]
128
            [% IF ( BIBLIO_RESULT.url ) %]
128
            <span>
129
            <span>
129
                URL: [% BIBLIO_RESULT.url %]
130
                [% t('URL:') %] [% BIBLIO_RESULT.url %]
130
            </span>
131
            </span>
131
            [% END %]
132
            [% END %]
132
            </p>
133
            </p>
Lines 134-144 Your cart Link Here
134
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
135
            [% SET OPACBaseURL = Koha.Preference('OPACBaseURL') %]
135
            [% IF ( OPACBaseURL ) %]
136
            [% IF ( OPACBaseURL ) %]
136
            <p>
137
            <p>
137
                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
138
                [% t('In online catalog:') %] [% OPACBaseURL %][% t('/cgi-bin/koha/opac-detail.pl?biblionumber=') %][% BIBLIO_RESULT.biblionumber %]
138
            </p>
139
            </p>
139
            [% END %]
140
            [% END %]
140
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
141
            [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
141
            <p>Items:
142
            <p>[% t('Items:') %]
142
            <ul>
143
            <ul>
143
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
144
                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]<li>
144
                    [% ITEM_RESULT.branchname %]
145
                    [% ITEM_RESULT.branchname %]
Lines 149-158 Your cart Link Here
149
            </ul>
150
            </ul>
150
            </p>
151
            </p>
151
            [% END %]
152
            [% END %]
152
            <hr/>
153
            <hr />
153
        </li>
154
        </li>
154
    [% END %]
155
    [% END %]
155
    </ol>
156
    </ol>
156
157
157
[% END %]
158
[% END %]
158
<END_MESSAGE>
159
<end_message>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasketform.tt (-10 / +10 lines)
Lines 1-17 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;  Sending your cart</title>
3
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %][% t('Koha online') %][% END %] [% t('catalog ›') %]  [% t('Sending your cart') %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
5
<body style="padding: 1em;" id="cart_sendbasketform" class="cart">
6
<body style="padding: 1em;" id="cart_sendbasketform" class="cart">
6
<div class="container">[% IF ( email_add ) %]
7
<div class="container">[% IF ( email_add ) %]
7
8
8
	[% IF ( SENT ) %]
9
	[% IF ( SENT ) %]
9
        <h3>Message sent</h3>
10
        <h3>[% t('Message sent') %]</h3>
10
        <p>The cart was sent to: [% email_add |html %]</p>
11
        <p>[% t('The cart was sent to:') %] [% email_add |html %]</p>
11
		<p><a class="focus close" href="#">Close window</a></p>
12
		<p><a class="focus close" href="#">[% t('Close window') %]</a></p>
12
	[% END %]
13
	[% END %]
13
	[% IF ( error ) %]
14
	[% IF ( error ) %]
14
	<p>Problem sending the cart...</p>
15
	<p>[% t('Problem sending the cart...') %]</p>
15
	[% END %]
16
	[% END %]
16
	
17
	
17
[% ELSE %]
18
[% ELSE %]
Lines 19-36 Link Here
19
<form action="/cgi-bin/koha/basket/sendbasket.pl" method="post">
20
<form action="/cgi-bin/koha/basket/sendbasket.pl" method="post">
20
21
21
<fieldset class="rows"> 
22
<fieldset class="rows"> 
22
<legend>Sending your cart</legend>
23
<legend>[% t('Sending your cart') %]</legend>
23
<ol>   <li>
24
<ol>   <li>
24
        <label for="email_add">Email address:</label>
25
        <label for="email_add">[% t('Email address:') %]</label>
25
        <input type="text" id="email_add" name="email_add" size="43" class="focus" />
26
        <input type="text" id="email_add" name="email_add" size="43" class="focus" />
26
    </li>
27
    </li>
27
    <li>
28
    <li>
28
            <label for="comment">Comment:</label>
29
            <label for="comment">[% t('Comment:') %]</label>
29
            <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
30
            <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
30
    </li>
31
    </li>
31
    </ol>
32
    </ol>
32
    </fieldset>
33
    </fieldset>
33
    <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
34
    <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">[% t('Cancel') %]</a> </fieldset>
34
    <input type="hidden" name="bib_list" value="[% bib_list %]" />
35
    <input type="hidden" name="bib_list" value="[% bib_list %]" />
35
    <input type="hidden" name="csrf_token" value="[% csrf_token %]" />
36
    <input type="hidden" name="csrf_token" value="[% csrf_token %]" />
36
</form>
37
</form>
37
- 

Return to bug 20988