{if ($edit)}
{else}
{if count($rows) > 0} {section name=opcat loop=$rows} {/section}
{t}Task categories{/t}
{t}Category{/t} {t}Color{/t} {t}Default hourly rate{/t} {t}Actions{/t}
{$rows[opcat].opcat_title|wash} {if strlen($rows[opcat].opcat_color)} {$rows[opcat].opcat_color|wash}{else} {/if} {$rows[opcat].opcat_hourlyrate|wash|default:" "} {t}Edit{/t} {t}Delete{/t}
{/if} {/if}