attrs = {marc_xml => rec.marc_xml};
PROCESS get_marc_attrs args=attrs %]
<tr class="result_table_row">
- <td class="result_table_row" align='left' width='100%'>
- <table cellpadding="0" cellspacing="0" class='result_table_subtable'>
- <tbody class='result_table_subtbody'>
- <tr name='counts_row'>
- <td valign="top" class="results_row_count"
- name="results_row_count">[%
+ <td class="results_row_count" name="results_row_count">[%
result_count; result_count = result_count + 1
%].</td>
- <td class='result_table_pic_header' align='center'
- width="78" nowrap="nowrap" valign="top">
+ <td class='result_table_pic_header'>
[% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
<a href="[% mkurl(ctx.opac_root _ '/record/' _ rec.id) %]"><img alt="[% l('Image of item') %]"
name='item_jacket' class='result_table_pic' width="55"
src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident | uri %]' /></a><br />
[% END %]
</td>
- <td class='result_table_title_cell' name='result_table_title_cell' valign="top">
+ <td class='result_table_title_cell' name='result_table_title_cell'>
<div class="bold">
<a name='record_[% rec.id %]' name='item_title'
href="[% mkurl(ctx.opac_root _ '/record/' _ rec.id) %]"
</div>
</div>
</td>
- </tr>
[%- IF ENV.OILS_CHILIFRESH_ACCOUNT %]
+ </tr>
<tr>
<td/>
<td align='center'> <!-- Chilifresh reviews link -->
</td>
</tr>
[%- END %]
- </tbody>
- </table>
- </td>
</tr>
[% END %]
</tbody>
margin-top: 1em;
}
-tr.result_table_row td.result_table_row {
- border-bottom:1px solid #d4d4d4;
+tr.result_table_row > td.results_row_count,
+tr.result_table_row > td.result_table_pic_header,
+tr.result_table_row > td.result_table_title_cell {
+ vertical-align: top;
+}
+
+tr.result_table_row:nth-child(n+2) > td {
+ border-top: 1px solid #d4d4d4;
+}
+
+tr.result_table_row > td.result_table_pic_header {
+ white-space: nowrap;
+ width: 78px;
+ padding-left: 1em;
}
.result_numbers {
text-transform:capitalize;
}
-.result_table_title_cell {
- padding-left: 7px;
-}
-
#myopac_summary_div p {
margin:0;
margin-bottom: 10px;