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