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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-3 / +16 lines)
Lines 115-120 Link Here
115
                '</a>';
115
                '</a>';
116
        };
116
        };
117
117
118
        // Our 'render' function for biblio_id 
119
        var createBiblioLink = function(data, type, row) {
120
            return '<a title="' + _("View biblio details") + '" ' +
121
                'href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=' +
122
                row.biblio_id + '">' +
123
                row.biblio_id +
124
                '</a>';
125
        };
126
118
        // Our 'render' function for the library name
127
        // Our 'render' function for the library name
119
        var createLibrary = function(data, type, row) {
128
        var createLibrary = function(data, type, row) {
120
            return row.library.branchname;
129
            return row.library.branchname;
Lines 185-191 Link Here
185
                func: createStatus
194
                func: createStatus
186
            },
195
            },
187
            biblio_id: {
196
            biblio_id: {
188
                name: _("Biblio ID")
197
                name: _("Biblio ID"),
198
                func: createBiblioLink
189
            },
199
            },
190
            library: {
200
            library: {
191
                name: _("Library"),
201
                name: _("Library"),
Lines 518-524 Link Here
518
528
519
                                <div class="biblio_id">
529
                                <div class="biblio_id">
520
                                    <span class="label biblio_id">Biblio ID:</span>
530
                                    <span class="label biblio_id">Biblio ID:</span>
521
                                    [% request.biblio_id || "N/A" %]
531
                                    [% IF request.biblio_id %]
532
                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% request.biblio_id %]">[% request.biblio_id %]</a>
533
                                    [% ELSE %]
534
                                        N/A
535
                                    [% END %]
522
                                </div>
536
                                </div>
523
                                <div class="branchcode">
537
                                <div class="branchcode">
524
                                    <span class="label branchcode">Library:</span>
538
                                    <span class="label branchcode">Library:</span>
525
- 

Return to bug 20797