{trans("Timetable assigned events:")} {if $ticket.state != $smarty.const.RT_RESOLVED} {button icon="add" label="Add" onclick="location.href='?m=eventadd&ticketid={$ticket.ticketid}{if $ticket.customerid}&customerid={$ticket.customerid}{/if}';"} {button icon="close" label="Close all" onclick="location.href='?m=eventedit&action=close&ticketid={$ticket.ticketid}';"} {/if}