{extends file=$smarty.const.SMARTY_LAYOUT_CONTENT_LIST_TABLE_CURRENT_DATA}

{block name="listing-tr-class"}
	{if !$rowFields['active']}
		disabled
	{/if}
{/block}

{block name="listing-td-content-entity"}
	{$_LANG['QcRules']['entities'][$rowFields['entity']]}
{/block}

{block name="listing-td-content-filters"}
	{foreach from=$rowFields['filters'] item=value}
    	{$value}<br>
	{/foreach}
{/block}

{block name="listing-td-content-restrictions"}
	{foreach from=$rowFields['restrictions'] item=value}
    	{$value}<br>
	{/foreach}
{/block}


{block name="listing-td-content-active"}
	{if $rowFields['active']}
		{$lang['index']['status']['active']}
	{else}
		{$lang['index']['status']['inactive']}
	{/if}
{/block}

{block name="listing-td-content-id"}
    #{$rowFields['id']}
{/block}

{block name="listing-td-content-addTime" append}
	<br>{userLabel ref=$rowFields['idAddUser']}
{/block}