// Added row_hover parameter to enable or disable row color on hover

This commit is contained in:
bMancone
2012-01-23 10:22:41 +00:00
parent 84f4d0838c
commit 5e36dd0b97
5 changed files with 15 additions and 7 deletions
@@ -28,7 +28,7 @@
{foreach $list AS $index => $tr}
<tr
{if $is_dnd_identifier}id="tr_{$id_category}_{$tr.$identifier}_{if isset($tr.position['position'])}{$tr.position['position']}{else}0{/if}"{/if}
{if $index is odd}class="alt_row"{/if}
class="{if $index is odd}alt_row{/if} {if $row_hover}row_hover{/if}"
{if isset($tr.color) && $color_on_bg}style="background-color: {$tr.color}"{/if}
>
<td class="center">
@@ -166,7 +166,7 @@
{/if}
</tr>
{if !$simple_header}
<tr class="nodrag nodrop filter" style="height: 35px;">
<tr class="nodrag nodrop filter {if $row_hover}row_hover{/if}" style="height: 35px;">
<td class="center">
{if $has_bulk_actions}
--