<table class="list">
{foreach item="persapp" from=$personalappointments}
    <tr id="portlet_unread_personalappointments_{$persapp->id}" class="portlettooltip smallbtns" onclick="usComm.loadPage('personalappointmentplaner','index', 'view', {$persapp->id})">
        <td style="width:10px"><span class="dialog_make_btn14 not_read">x</span>
            {include file='Calendar/_portlet_tooltip.tpl' id="portlet_unread_personalappointments_{$persapp->id}" data=$persapp lang=$i}
        </td>
        <td>{$persapp->date->us_date()}</td>
        {if $persapp->fullday}
            <td colspan="2" style="width:100%">{if empty($persapp->summary)}{$persapp->comment|truncate:80}{else}{$persapp->summary|truncate:80}{/if}</td>
        {else}
            <td style="width:100%">{if empty($persapp->summary)}{$persapp->comment|truncate:80}{else}{$persapp->summary|truncate:80}{/if}</td>
            <td style="text-align:right; white-space: nowrap">{$persapp->daytime_from->format('H:i')} - {$persapp->daytime_to->format('H:i')}</td>
        {/if}
    </tr>
{/foreach}
</table>