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 521-527
Link Here
|
521 |
|
531 |
|
522 |
<div class="biblio_id"> |
532 |
<div class="biblio_id"> |
523 |
<span class="label biblio_id">Bibliographic record ID:</span> |
533 |
<span class="label biblio_id">Bibliographic record ID:</span> |
524 |
[% request.biblio_id || "N/A" | html %] |
534 |
[% IF request.biblio_id %] |
|
|
535 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% request.biblio_id | html %]">[% request.biblio_id | html %]</a> |
536 |
[% ELSE %] |
537 |
<span>N/A</span> |
538 |
[% END %] |
525 |
</div> |
539 |
</div> |
526 |
<div class="branchcode"> |
540 |
<div class="branchcode"> |
527 |
<span class="label branchcode">Library:</span> |
541 |
<span class="label branchcode">Library:</span> |
528 |
- |
|
|