Lines 51-65
require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
Link Here
|
51 |
|
51 |
|
52 |
// The columns that should show up in a search, in order, and keyed by the corresponding <metadata> tag in the XSL and Pazpar2 config |
52 |
// The columns that should show up in a search, in order, and keyed by the corresponding <metadata> tag in the XSL and Pazpar2 config |
53 |
var z3950Labels = [ |
53 |
var z3950Labels = [ |
54 |
[ "md-work-title", "Title" ], |
54 |
[ "md-work-title", _("Title") ], |
55 |
[ "md-series-title", "Series-title" ], |
55 |
[ "md-series-title", _("Series Title") ], |
56 |
[ "md-work-author", "Author" ], |
56 |
[ "md-work-author", _("Author") ], |
57 |
[ "md-lccn", "LCCN" ], |
57 |
[ "md-lccn", _("LCCN") ], |
58 |
[ "md-isbn", "ISBN" ], |
58 |
[ "md-isbn", _("ISBN") ], |
59 |
[ "md-issn", "ISSN" ], |
59 |
[ "md-issn", _("ISSN") ], |
60 |
[ "md-medium", "Medium" ], |
60 |
[ "md-medium", _("Medium") ], |
61 |
[ "md-edition", "Edition" ], |
61 |
[ "md-edition", _("Edition") ], |
62 |
[ "md-description", "Description" ], |
62 |
[ "md-description", _("Description") ], |
63 |
]; |
63 |
]; |
64 |
|
64 |
|
65 |
var state = { |
65 |
var state = { |
Lines 382-388
require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
Link Here
|
382 |
result += '<td class="toolscol"><ul><li><a href="#" class="marc-link">' + _("View MARC") + '</a></li>'; |
382 |
result += '<td class="toolscol"><ul><li><a href="#" class="marc-link">' + _("View MARC") + '</a></li>'; |
383 |
result += '<li><a href="#" class="open-link">' + _("Import") + '</a></li>'; |
383 |
result += '<li><a href="#" class="open-link">' + _("Import") + '</a></li>'; |
384 |
if ( state.canSave ) result += '<li><a href="#" class="substitute-link" title="' + _("Replace the current record's contents") + '">' + _("Substitute") + '</a></li>'; |
384 |
if ( state.canSave ) result += '<li><a href="#" class="substitute-link" title="' + _("Replace the current record's contents") + '">' + _("Substitute") + '</a></li>'; |
385 |
// REMOVE: (vim syntax highlighting bug) "</a></a>" |
|
|
386 |
result += '</ul></td></tr>'; |
385 |
result += '</ul></td></tr>'; |
387 |
|
386 |
|
388 |
var $tr = $( result ); |
387 |
var $tr = $( result ); |