{literal} {/literal} {assign var="StartDateF" value=$cal_Event.StartDate|date_format:"%A, %d.%m.%Y"} {assign var="EndDateF" value=$cal_Event.EndDate|date_format:"%A, %d.%m.%Y"} {assign var="StartTimeF" value=""} {assign var="EndTimeF" value=""} {if ($cal_Event.TimeMode!=1)} {assign var="StartTimeF" value=$cal_Event.StartDate|date_format:" %H:%M"} {assign var="EndTimeF" value=$cal_Event.EndDate|date_format:" %H:%M"} {if ($StartDateF==$EndDateF)} {assign var="StartTimeF" value="$StartTimeF -$EndTimeF"} {assign var="EndTimeF" value=""} {/if} {/if}

{$StartDateF}{$StartTimeF}
{$cal_Event.Title}


{if $cal_Event.RecType && $cal_Event.nextRecurrence} {assign var="NextStartDateF" value=$cal_Event.nextRecurrence.start|date_format:"%A, %d.%m.%Y"} {assign var="NextEndDateF" value=$cal_Event.nextRecurrence.end|date_format:"%A, %d.%m.%Y"} {assign var="NextStartTimeF" value=""} {assign var="NextEndTimeF" value=""} {if ($cal_Event.TimeMode!=1)} {assign var="NextStartTimeF" value=$cal_Event.nextRecurrence.start|date_format:" %H:%M"} {assign var="NextEndTimeF" value=$cal_Event.nextRecurrence.end|date_format:" %H:%M"} {if ($NextStartDateF==$NextEndDateF)} {assign var="NextStartTimeF" value="$NextStartTimeF -$NextEndTimeF"} {assign var="NextEndTimeF" value=""} {/if} {/if} {/if} {if $cal_Event.RecType} {/if} {if $cal_Event.RecType && !empty($cal_Event.Exception)} {/if} {foreach name="invitIntern" from=$cal_Event.invitIntern key=invitKey item=invitIntern} {/foreach} {if !empty($cal_Event.invitExtern)} {foreach name="invitExtern" from=$cal_Event.invitExtern key=invitKey item=invitExtern} {assign var="Email" value=$invitExtern->getMeta('Email',1)} {assign var="Tel" value=$invitExtern->getMeta('ATel',1)} {assign var="Mobil" value=$invitExtern->getMeta('Mobil',1)} {/foreach} {/if} {if !empty($cal_Event.logBook)} {foreach name="logBook" from=$cal_Event.logBook item=logBook} {/foreach} {/if}
{$cal_Event.Owner} {$StartDateF}{$StartTimeF}{if ($StartDateF!=$EndDateF)} fino a {$EndDateF}{$EndTimeF}{/if}
 
{$cal_Event.Title} ({$cal_Event.Category->getName()})
{if $cal_Event.Text}
{$cal_Event.Text}
{/if} {if $cal_Event.Project}
Progetto: {$cal_Event.Project->getName()}
{/if} {if $cal_Event.Place}
Luogo: {$cal_Event.Place}
{/if} {if !empty($cal_Event.invitResources)}
Risorse: {$cal_Event.invitResources|@implode_object:", ":""}
{/if}
 
Prossima ripetizione
  {$NextStartDateF}{$NextStartTimeF}{if ($NextStartDateF!=$NextEndDateF)} fino a {$NextEndDateF}{$NextEndTimeF}{/if}
 
Ripetizione
  {if $cal_Event.RecType==1}Tutti{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} Giorno/i{/if} {if $cal_Event.RecType==2}Tutti{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} Settimana/e{/if} {if $cal_Event.RecType==3}Tutti{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} Mese/i{/if} {if $cal_Event.RecType==5}Tutti{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} Anno/i{/if} {if $cal_Event.RecEnd!=-1} fino a {$cal_Event.RecEnd|date_format:"%d.%m.%Y"}{/if}
 
Eccezioni
  {foreach name="Exception" from=$cal_Event.Exception item=Exception}{if !$smarty.foreach.Exception.first}, {/if}{$Exception|date_format:"%d.%m.%Y"}{/foreach}
 
Partecipanti
  {$invitIntern}  {if !$cal_Event.invitInternStatus.$invitKey}Nessuna risposta{/if} {if $cal_Event.invitInternStatus.$invitKey==1}{$cal_Event.invitInternLog.$invitKey.Date|date_format:"%d.%m.%Y"} Appuntamento accettato
{$cal_Event.invitInternLog.$invitKey.Text}{/if} {if $cal_Event.invitInternStatus.$invitKey==2}{$cal_Event.invitInternLog.$invitKey.Date|date_format:"%d.%m.%Y"} Appuntamento non accettato
{$cal_Event.invitInternLog.$invitKey.Text}{/if} {if $cal_Event.invitInternStatus.$invitKey==3}Appuntamento provvisorio{/if}
 
Partecipanti esterni
  {$invitExtern->getName()}  {if !empty($Email)}
Email: {$Email|@implode:", "}
{/if} {if !empty($Tel)}
Tel.: {$Tel|@implode:", "}
{/if} {if !empty($Mobil)}
Cellulare: {$Mobil|@implode:", "}
{/if}
 
Logbook
  {$logBook.Date|date_format:"%d.%m.%Y %H:%M"} {$logBook.User|user_format:"lastname"} {$logBook.User|user_format:"firstname"}
  {$logBook.Text}