{t}Attached Files{/t} ({$files|@count}) [ {t}Back to Top{/t} ] [ {get_display_label element_name="attachments" total=$files|@count} ]
{if $core.current_role > $core.roles.customer} {/if} {foreach from=$files item=attachment} {if $core.current_role > $core.roles.customer} {/if} {foreachelse} {/foreach}
{t}Files{/t} {t}Owner{/t}{t}Minimum Role{/t}{t}Date{/t} {t}Description{/t}
{foreach from=$attachment.files item=file} {$file.iaf_filename|escape:"html"} ({$file.iaf_filesize}) {t}view{/t} {if $core.user.usr_id == $attachment.iat_usr_id OR $core.current_role >= $core.roles.manager} {t}delete{/t}{/if}
{/foreach}
{$attachment.usr_full_name|escape:"html"} {if $core.user.usr_id == $attachment.iat_usr_id OR $core.current_role >= $core.roles.manager} [ {t}delete{/t} ]{/if} {if $attachment.iat_min_role >= $core.roles.standard_user} {$attachment.min_role_name} {else} {$attachment.min_role_name} {/if} {$attachment.iat_created_date|timeago} {$attachment.iat_description}
{t}No attachments could be found.{/t}
{if $core.current_role > $core.roles.viewer}
{/if}