{block name="eventlistboxrow"} {$_EVENTTYPES[$event.type]}{if $_EVENTTYPES[$event.type]}
{/if}{if $event.ticketid}{$event.ticketid|string_format:"%06d"}{/if} {if $event.endtime == 86400} {trans("whole day")} {else} {($event.date + $event.begintime)|date_format:"%H:%M"} {if $event.begintime != $event.endtime} - {($event.date + $event.endtime)|date_format:"%H:%M"} {/if} {if $event.multiday}
{trans("multi day")}{/if} {/if} {if $overdue == 1}
{$event.date|date_format:"%x"} {/if} {$imadded=0} {foreach $event.userlist as $user} {if $layout.logid == $user.id} {$imadded=1} {/if}
{$user.name|truncate:"25":"...":true} {/foreach} {$event.title} {if !ConfigHelper::checkConfig('phpui.timetable_hide_description')}{if $event.description != ''}
{$event.description}{/if}{/if} {if $event.note != ''}
{$event.note}{/if} {if $event.netnode_name} {$event.netnode_name} {if !empty($event.netnode_location)}
{$event.netnode_location}{/if} {else} {if $event.customername} {$event.customername|truncate:"30":"...":true}
{if !empty($event.address_id)} {$event.location} {elseif !empty($event.nodeid)} {$event.nodelocation} {else} {$event.customerlocation} {/if} {/if} {/if}
{if !isset($eventlist_mode)} {/if} {if $imadded} {button type="link" icon="owner" onclick="location.href = '?m=eventedit&id={$event.id}&action=unassign&backid=' + $(this).closest('.event-day-table').attr('id');" tip="Unassign"} {else} {button type="link" icon="owner" onclick="location.href = '?m=eventedit&id={$event.id}&action=assign&backid=' + $(this).closest('.event-day-table').attr('id');" tip="Assign"} {/if} {if ConfigHelper::checkPrivilege('timetable_management')} {if $event.closed} {button type="link" icon="open" onclick="location.href = '?m=eventedit&id={$event.id}&action=open&backid=' + $(this).closest('.event-day-table').attr('id');" tip="Open"} {else} {button type="link" icon="close" onclick="location.href = '?m=eventedit&id={$event.id}&action=close&backid=' + $(this).closest('.event-day-table').attr('id');" tip="Close"} {button type="link" icon="clone" href="?m=eventadd&id={$event.id}" tip="Clone"} {button type="link" icon="delete" class="delete-event" href="?m=eventdel&id={$event.id}" tip="Delete permanently"} {button type="link" icon="edit" onclick="location.href = '?m=eventedit&id={$event.id}&backid=' + $(this).closest('.event-day-table').attr('id');"} {/if} {if $imadded && $event.note == ''} {button type="link" icon="note" onclick="location.href = '?m=eventnote&id={$event.id}&backid=' + $(this).closest('.event-day-table').attr('id');" tip="Add Note"} {/if} {/if}
{/block}