{if $user->can('manage_work')} {if $show_files} {/if} {if $active_work} {foreach $active_work as $work_item} {if $show_files} {if $project.has_files} {else} {/if} {/if} {/foreach} {/if}
{$i18n.title.active_work}
{$i18n.label.thing_name} {$i18n.label.description}
{$work_item.name|escape}{$i18n.label.files}{$i18n.label.files}{$i18n.label.edit} {$i18n.label.delete}

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

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