|
Lines 23-29
Link Here
|
| 23 |
|
23 |
|
| 24 |
// add subtitle |
24 |
// add subtitle |
| 25 |
if (biblio.subtitle != null && biblio.subtitle != '') { |
25 |
if (biblio.subtitle != null && biblio.subtitle != '') { |
| 26 |
title += '<span class="biblio-subtitle">' + escape_str(biblio.subtitle) + '</span>'; |
26 |
title += ' <span class="biblio-subtitle">' + escape_str(biblio.subtitle) + '</span>'; |
| 27 |
} |
27 |
} |
| 28 |
|
28 |
|
| 29 |
// set title as link |
29 |
// set title as link |
|
Lines 41-47
Link Here
|
| 41 |
|
41 |
|
| 42 |
// add medium |
42 |
// add medium |
| 43 |
if (biblio.medium != null && biblio.medium != '') { |
43 |
if (biblio.medium != null && biblio.medium != '') { |
| 44 |
title += '<span class="biblio-medium">' + escape_str(biblio.medium) + '</span>'; |
44 |
title += ' <span class="biblio-medium">' + escape_str(biblio.medium) + '</span>'; |
| 45 |
} |
45 |
} |
| 46 |
|
46 |
|
| 47 |
// add part numbers/names |
47 |
// add part numbers/names |
|
Lines 50-59
Link Here
|
| 50 |
let i = 0; |
50 |
let i = 0; |
| 51 |
while (part_numbers[i] || part_names[i]) { |
51 |
while (part_numbers[i] || part_names[i]) { |
| 52 |
if (part_numbers[i]) { |
52 |
if (part_numbers[i]) { |
| 53 |
title += '<span class="part-number">' + escape_str(part_numbers[i]) + '</span>'; |
53 |
title += ' <span class="part-number">' + escape_str(part_numbers[i]) + '</span>'; |
| 54 |
} |
54 |
} |
| 55 |
if (part_names[i]) { |
55 |
if (part_names[i]) { |
| 56 |
title += '<span class="part-name">' + escape_str(part_name[i]) + '</span>'; |
56 |
title += ' <span class="part-name">' + escape_str(part_names[i]) + '</span>'; |
| 57 |
} |
57 |
} |
| 58 |
i++; |
58 |
i++; |
| 59 |
} |
59 |
} |
| 60 |
- |
|
|