{if $user->can('manage_tasks')}
{if $inactive_tasks}
{/if}
|
|
{if $active_tasks}
{foreach $active_tasks as $task}
{$task.name|escape} |
{$task.description|escape} |
|
|
{/foreach}
{/if}
{if $inactive_tasks}
|
|
{foreach $inactive_tasks as $task}
{$task.name|escape} |
{$task.description|escape} |
|
|
{/foreach}
{/if}
{else}
{if $active_tasks}
{foreach $active_tasks as $task}
{$task.name|escape} |
{$task.description|escape} |
{/foreach}
{/if}
{/if}
|