{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)} [[bis]] {$EndDateF}{$EndTimeF}{/if}
 
{$cal_Event.Title} ({$cal_Event.Category->getName()})
{if $cal_Event.Text}
{$cal_Event.Text}
{/if} {if $cal_Event.Project}
[[Projekt]]: {$cal_Event.Project->getName()}
{/if} {if $cal_Event.Place}
[[Ort]]: {$cal_Event.Place}
{/if} {if !empty($cal_Event.invitResources)}
[[Resourcen]]: {$cal_Event.invitResources|@implode_object:", ":""}
{/if}
 
[[Naechste Wiederholung]]
  {$NextStartDateF}{$NextStartTimeF}{if ($NextStartDateF!=$NextEndDateF)} [[bis]] {$NextEndDateF}{$NextEndTimeF}{/if}
 
[[Wiederholung]]
  {if $cal_Event.RecType==1}[[Alle]]{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} [[Tage]]{/if} {if $cal_Event.RecType==2}[[Alle]]{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} [[Wochen]]{/if} {if $cal_Event.RecType==3}[[Alle]]{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} [[Monate]]{/if} {if $cal_Event.RecType==5}[[Alle]]{if $cal_Event.RecInt>1} {$cal_Event.RecInt}{/if} [[Jahre]]{/if} {if $cal_Event.RecEnd!=-1} [[bis]] {$cal_Event.RecEnd|date_format:"%d.%m.%Y"}{/if}
 
[[Ausnahmen]]
  {foreach name="Exception" from=$cal_Event.Exception item=Exception}{if !$smarty.foreach.Exception.first}, {/if}{$Exception|date_format:"%d.%m.%Y"}{/foreach}
 
[[TeilnehmerInnen]]
  {$invitIntern}  {if !$cal_Event.invitInternStatus.$invitKey}[[Keine Rueckmeldung]]{/if} {if $cal_Event.invitInternStatus.$invitKey==1}{$cal_Event.invitInternLog.$invitKey.Date|date_format:"%d.%m.%Y"} [[Termin akzeptiert]]
{$cal_Event.invitInternLog.$invitKey.Text}{/if} {if $cal_Event.invitInternStatus.$invitKey==2}{$cal_Event.invitInternLog.$invitKey.Date|date_format:"%d.%m.%Y"} [[Termin abgelehnt]]
{$cal_Event.invitInternLog.$invitKey.Text}{/if} {if $cal_Event.invitInternStatus.$invitKey==3}[[Provisorischer Termin]]{/if}
 
[[Externe TeilnehmerInnen]]
  {$invitExtern->getName()}  {if !empty($Email)}
[[E-Mail]]: {$Email|@implode:", "}
{/if} {if !empty($Tel)}
[[Tel]]: {$Tel|@implode:", "}
{/if} {if !empty($Mobil)}
[[Mobil]]: {$Mobil|@implode:", "}
{/if}
 
[[Logbuch]]
  {$logBook.Date|date_format:"%d.%m.%Y %H:%M"} {$logBook.User|user_format:"lastname"} {$logBook.User|user_format:"firstname"}
  {$logBook.Text}