<#setting number_format="computer">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article [
		<!ENTITY % isolat1 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "ISOlat1.ent">
%isolat1;
<!ENTITY % isolat2 PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "ISOlat2.ent">
%isolat2;
<!ENTITY % isonum PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ISOnum.ent">
%isonum;
<!ENTITY % isopub PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" "ISOpub.ent">
%isopub;
]>
<article version="5.0" xml:lang="cs" xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:svg="http://www.w3.org/2000/svg"
         xmlns:m="http://www.w3.org/1998/Math/MathML"
         xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns:db="http://docbook.org/ns/docbook">

    <#list participantsData as participant>
		<section>
			<title>Potvrzení na účasti</title>
			<para>Potvrzujeme účast <#if participant.name??><emphasis role='bold'>${participant.name}</emphasis></#if> na údálosti <emphasis role='bold'>${event.name}
                    <#if event.allDay>
						(${event.startTime?string["dd.MM.yyyy"]} - ${event.endTime?string["dd.MM.yyyy"]})
                    <#else>
						(${event.startTime?string["dd.MM.yyyy HH:mm"]} - ${event.endTime?string["dd.MM.yyyy HH:mm"]})
                    </#if></emphasis>.</para>

			<informaltable frame='all'>
				<tgroup
						cols="#{eventInfos?size}"
						align='left'
						colsep='1'
						rowsep='1'>
					<thead>
					<row>
                        <#list eventInfos as info>
							<entry>${info.infoTypeObj.name}</entry>
                        </#list>
					</row>
					</thead>
					<tbody>
					<row valign="middle"><?dbfo row-height="12pt"?>
                        <#assign participantInfo = participantInfos?api.get(participant.id)>
                        <#list participantInfo?keys as key>
							<entry>${participantInfo?api.get(key)}</entry>
                        </#list>
					</row>
					</tbody>
				</tgroup>
			</informaltable>

			<para>Podpis</para>

		</section>
		<?hard-pagebreak?>
    </#list>
</article>