{if $user->can('manage_projects')} {if $inactive_projects} {/if} {if $active_projects} {foreach $active_projects as $project} {/foreach} {/if}
{$i18n.form.projects.active_projects}
{$i18n.label.thing_name} {$i18n.label.description} {$i18n.label.edit} {$i18n.label.delete}
{$project.name|escape} {$project.description|escape} {$i18n.label.edit} {$i18n.label.delete}

{if $inactive_projects} {foreach $inactive_projects as $project} {/foreach}
{$i18n.form.projects.inactive_projects}
{$i18n.label.thing_name} {$i18n.label.description} {$i18n.label.edit} {$i18n.label.delete}
{$project.name|escape} {$project.description|escape} {$i18n.label.edit} {$i18n.label.delete}

{/if} {else} {if $active_projects} {foreach $active_projects as $project} {/foreach} {/if}
{$i18n.label.thing_name} {$i18n.label.description}
{$project.name|escape} {$project.description|escape}
{/if}