Lines 39-44
Link Here
|
39 |
[% END %] |
39 |
[% END %] |
40 |
[% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] |
40 |
[% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] |
41 |
[% INCLUDE 'doc-head-close.inc' %] |
41 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
42 |
[% FILTER collapse %] |
43 |
<style> |
44 |
.component_part { |
45 |
padding: 0.5rem 0.9rem; |
46 |
border-bottom: 1px solid #bcbcbc; |
47 |
} |
48 |
.component_part:nth-child(2n + 1) { |
49 |
background-color: #f3f4f4; |
50 |
} |
51 |
</style> |
52 |
[% END %] |
42 |
</head> |
53 |
</head> |
43 |
[% BLOCK cssinclude %][% END %] |
54 |
[% BLOCK cssinclude %][% END %] |
44 |
[% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %] |
55 |
[% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %] |
Lines 664-676
Link Here
|
664 |
[% IF ComponentParts && ComponentParts.size %] |
675 |
[% IF ComponentParts && ComponentParts.size %] |
665 |
[% WRAPPER tab_panel tabname="components" %] |
676 |
[% WRAPPER tab_panel tabname="components" %] |
666 |
<div class="content_set"> |
677 |
<div class="content_set"> |
667 |
<table> |
678 |
[% FOR PART IN ComponentParts %] |
668 |
[% FOR PART IN ComponentParts %] |
679 |
<div class="component_part"> [% PART | $raw %] </div> |
669 |
<tr> |
680 |
[% END %] |
670 |
<td> [% PART | $raw %] </td> |
|
|
671 |
</tr> |
672 |
[% END %] |
673 |
</table> |
674 |
[% IF ComponentParts.size == Koha.Preference('MaxComponentRecords') %] |
681 |
[% IF ComponentParts.size == Koha.Preference('MaxComponentRecords') %] |
675 |
<p>Only [% ComponentParts.size | html %] results are shown: <a href="/cgi-bin/koha/opac-search.pl?q=[% ComponentPartsQuery | url %]">show all component parts</a></p> |
682 |
<p>Only [% ComponentParts.size | html %] results are shown: <a href="/cgi-bin/koha/opac-search.pl?q=[% ComponentPartsQuery | url %]">show all component parts</a></p> |
676 |
[% END %] |
683 |
[% END %] |
677 |
- |
|
|