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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-2 / +15 lines)
Lines 116-121 Link Here
116
                '</a>';
116
                '</a>';
117
        };
117
        };
118
118
119
        // Our 'render' function for biblio_id
120
        var createBiblioLink = function(data, type, row) {
121
            return '<a title="' + _("View biblio details") + '" ' +
122
                'href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=' +
123
                row.biblio_id + '">' +
124
                row.biblio_id +
125
                '</a>';
126
        };
127
119
        // Our 'render' function for the library name
128
        // Our 'render' function for the library name
120
        var createLibrary = function(data, type, row) {
129
        var createLibrary = function(data, type, row) {
121
            return row.library.branchname;
130
            return row.library.branchname;
Lines 187-192 Link Here
187
            },
196
            },
188
            biblio_id: {
197
            biblio_id: {
189
                name: _("Bibliograpic Record ID")
198
                name: _("Bibliograpic Record ID")
199
                func: createBiblioLink
190
            },
200
            },
191
            library: {
201
            library: {
192
                name: _("Library"),
202
                name: _("Library"),
Lines 526-532 Link Here
526
536
527
                                <div class="biblio_id">
537
                                <div class="biblio_id">
528
                                    <span class="label biblio_id">Bibliographic record ID:</span>
538
                                    <span class="label biblio_id">Bibliographic record ID:</span>
529
                                    [% IF request.biblio_id %][% request.biblio_id | html %][% ELSE %]<span>N/A</span>[% END %]
539
                                    [% IF request.biblio_id %]
540
                                        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% request.biblio_id | html %]">[% request.biblio_id | html %]</a>
541
                                    [% ELSE %]
542
                                        <span>N/A</span>
543
                                    [% END %]
530
                                </div>
544
                                </div>
531
                                <div class="branchcode">
545
                                <div class="branchcode">
532
                                    <span class="label branchcode">Library:</span>
546
                                    <span class="label branchcode">Library:</span>
533
- 

Return to bug 20797