{function name="reply_button" class="" title="" href="" onclick=""} {strip} {/strip} {/function}
{t}Internal Notes{/t} ({$notes|@count}) [ {t}Back to Top{/t} ] [ {get_display_label element_name="internal_notes" total=$notes|@count} ]
{section name="i" loop=$notes} {cycle values='odd,even' assign="row_class"} {include file="expandable_cell/body.tpl.html" ec_id="note" list_id=$notes[i].not_id colspan="6" class=$row_class} {sectionelse} {/section}
{include file="expandable_cell/buttons.tpl.html" ec_id="note"} # {t}Reply{/t} {t}Posted Date{/t} {t}User{/t} {t}Title{/t}
{include file="expandable_cell/buttons.tpl.html" ec_id="note" list_id=$notes[i].not_id} {$smarty.section.i.iteration} {reply_button title="{t}reply as email{/t}" class="reply_as_email" href="send.php?cat=reply_to_note¬e_id={$notes[i].not_id}&issue_id={$smarty.get.id|intval}" onclick="return replyAsEmail(this);"} {reply_button title="{t}reply as note{/t}" class="reply_note" href="post_note.php?cat=reply&id={$notes[i].not_id}&issue_id={$smarty.get.id|intval}" onclick="return replyNote(this);"} {$notes[i].not_created_date|timeago} {$notes[i].usr_full_name|escape:"html"} {if $notes[i].not_usr_id && !$notes[i].not_usr_status_active} ({$notes[i].not_usr_status}) {/if} {if $core.user.usr_id == $notes[i].not_usr_id OR $core.current_role >= $core.roles.manager}[ {t}delete{/t} ]{/if} {$notes[i].not_title|default:""|escape:"html"} {if $notes[i].not_has_attachment} {/if} {if $notes[i].has_blocked_message} ({t}convert note{/t}){/if}
{t}No internal notes could be found.{/t}
{if $core.current_role > $core.roles.reporter}
{/if}