{strip} {assign var = 'value' value = $params|@current} {if $value > 0} {assign var = 'viewUrl' value = 'Qs_String::fill'|call_user_func:$column.viewUrl:$row:"`$smarty.ldelim``$smarty.rdelim`"} ({$value}) view {else} {assign var = 'newUrl' value = 'Qs_String::fill'|call_user_func:$column.newUrl:$row:"`$smarty.ldelim``$smarty.rdelim`"} {$column.emptyValue|@default:"(`$value`)"} Add New {$column.itemName|htmlspecialchars} {/if} {/strip}