{if $user->can('manage_work')}
{if $inactive_work}
{/if}
{if $active_work}
{if $show_files}
|
{/if}
|
|
{foreach $active_work as $work_item}
{$work_item.name|escape} |
{if $show_files}
{if $project.has_files}
|
{else}
|
{/if}
{/if}
|
|
{/foreach}
{/if}
{if $inactive_projects}
{if $show_files}
|
{/if}
|
|
{foreach $inactive_projects as $project}
{$project.name|escape} |
{$project.description|escape} |
{if $show_files}
{if $project.has_files}
|
{else}
|
{/if}
{/if}
|
|
{/foreach}
{/if}
{else}
{if $show_files}
|
{/if}
{if $active_projects}
{foreach $active_projects as $project}
{$project.name|escape} |
{$project.description|escape} |
{if $show_files && $project.has_files}
|
{/if}
{/foreach}
{/if}
{/if}
|