#if($r.isNotEmpty($appointments))
#foreach($appointment in $appointments)
#if($appointment.getDate() && $appointment.getDate() != "")
  $appointment.getDate()
#end #if($appointment.getDateLong() && $appointment.getDateLong() != "")
  $appointment.getDateLong()
#end #if($appointment.getDateShort1() && $appointment.getDateShort1() != "")
  $appointment.getDateShort1()
#end #if($appointment.getDateShort2() && $appointment.getDateShort2() != "")
  $appointment.getDateShort2()
#end #if($appointment.getTime() && $appointment.getTime() != "")
  $appointment.getTime()
#end #if($appointment.getLocation() && $appointment.getLocation() != "")
  $r.escapeHtml($appointment.getLocation())
#end #if($appointment.getDetails() && $appointment.getDetails() != "")
  $r.escapeHtml($appointment.getDetails())
#end #if($r.isNotEmpty($appointment.participants))
#foreach($participant in $appointment.participants)  $participant   #end
#end #if($r.isNotNull($appointment.getFreeParticipations()))
#if($appointment.getFreeAppointments() == 1) $r.translate("participations.free.one") #else $r.translate("participations.free", $appointment.getFreeParticipations().toString()) #end
#end
#if($r.isNotNull($appointment.getSelectLinkName()))
$r.render($appointment.getSelectLinkName())
#end
#end
#else
$r.translate("no.appointments")
#end