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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-3 / +3 lines)
Lines 25-31 Link Here
25
                </a>
25
                </a>
26
26
27
                [% IF id_arg && format=='SCAN' %]
27
                [% IF id_arg && format=='SCAN' %]
28
                <a class="ar-edit-urls" href="#" onclick="HandleMulti( EditURLs, [% id_arg %], $(this) ); return false;">
28
                <a class="ar-edit-urls" href="#" onclick="HandleMulti( EditURLs, [% id_arg | html %], $(this) ); return false;">
29
                    <i class="fa fa-edit"></i>
29
                    <i class="fa fa-edit"></i>
30
                    Edit URLs
30
                    Edit URLs
31
                </a>
31
                </a>
Lines 219-225 Link Here
219
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
219
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
220
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
220
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
221
                                        <td class="ar-format">[% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %]</td>
221
                                        <td class="ar-format">[% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %]</td>
222
                                        <td class="ar-urls">[% IF ar.format == 'SCAN' %]<span id="url_yesno_[% ar.id %]">[% IF ar.urls %]Yes[% ELSE %]No[% END%]</span><span id="url_[% ar.id%]" style="display:none;">[% ar.urls %]</span>[% END %]</td>
222
                                        <td class="ar-urls">[% IF ar.format == 'SCAN' %]<span id="url_yesno_[% ar.id | html %]">[% IF ar.urls %]Yes[% ELSE %]No[% END%]</span><span id="url_[% ar.id | html %]" style="display:none;">[% ar.urls | url %]</span>[% END %]</td>
223
                                        <td class="ar-patron">
223
                                        <td class="ar-patron">
224
                                            <p>
224
                                            <p>
225
                                                <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber | uri %]">
225
                                                <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber | uri %]">
Lines 322-328 Link Here
322
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
322
                                        <td class="ar-enumchron">[% ar.item.enumchron | html %]</td>
323
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
323
                                        <td class="ar-barcode">[% ar.item.barcode | html %]</td>
324
                                        <td class="ar-format">[% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %]</td>
324
                                        <td class="ar-format">[% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %]</td>
325
                                        <td class="ar-urls">[% IF ar.format == 'SCAN' %]<span id="url_yesno_[% ar.id %]">[% IF ar.urls %]Yes[% ELSE %]No[% END%]</span><span id="url_[% ar.id%]" style="display:none;">[% ar.urls %]</span>[% END %]</td>
325
                                        <td class="ar-urls">[% IF ar.format == 'SCAN' %]<span id="url_yesno_[% ar.id | html %]">[% IF ar.urls %]Yes[% ELSE %]No[% END%]</span><span id="url_[% ar.id | html %]" style="display:none;">[% ar.urls | url %]</span>[% END %]</td>
326
                                        <td class="ar-patron">
326
                                        <td class="ar-patron">
327
                                            <p>
327
                                            <p>
328
                                                <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber | uri %]">
328
                                                <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% ar.borrower.cardnumber | uri %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-1 / +1 lines)
Lines 420-426 Link Here
420
            });
420
            });
421
421
422
            // Initialize format(s)
422
            // Initialize format(s)
423
            var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') %]";
423
            var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') | $raw %]";
424
            if( !supported_formats.match(/PHOTOCOPY/) )
424
            if( !supported_formats.match(/PHOTOCOPY/) )
425
                $('#format option[value="PHOTOCOPY"]').remove();
425
                $('#format option[value="PHOTOCOPY"]').remove();
426
            if( !supported_formats.match(/SCAN/) )
426
            if( !supported_formats.match(/SCAN/) )
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt (-2 / +1 lines)
Lines 260-266 $(document).ready( function() { Link Here
260
    });
260
    });
261
261
262
    // Initialize format(s)
262
    // Initialize format(s)
263
    var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') %]";
263
    var supported_formats = "[% Koha.Preference('ArticleRequestsSupportedFormats') | $raw %]";
264
    if( !supported_formats.match(/PHOTOCOPY/) )
264
    if( !supported_formats.match(/PHOTOCOPY/) )
265
        $('#format option[value="PHOTOCOPY"]').remove();
265
        $('#format option[value="PHOTOCOPY"]').remove();
266
    if( !supported_formats.match(/SCAN/) )
266
    if( !supported_formats.match(/SCAN/) )
267
- 

Return to bug 20472