<#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">

	<section>
		<title><emphasis role='color' color='#FF0000'>${event.name}</emphasis></title>
		<para><emphasis role='bold'><emphasis role='size' font-size='120%'>Zahájení
                    <#if event.allDay>
                        ${event.startTime?string["dd.MM.yyyy"]}
                    <#else>
                        ${event.startTime?string["dd.MM.yyyy HH:mm"]}
                    </#if></emphasis></emphasis></para>

		<informaltable frame='all'>
			<tgroup cols="4" align='left' colsep='1' rowsep='1'>
				<colspec colwidth='50pt'/>
				<colspec colwidth='180pt'/>
				<colspec colwidth='180pt'/>
				<colspec colwidth='*'/>
				<thead>
				<row>
					<entry>Číslo</entry>
					<entry>Partner</entry>
					<entry>Partnerka</entry>
					<entry>Stav úhrady (doplatit)</entry>
				</row>
				</thead>
				<tbody>
                <#if participantsData?has_content>
                    <#list participantsData?keys as participant>
						<row valign="middle"><?dbfo row-height="20pt"?>
							<entry><#if participant.number??>${participant.number}</#if></entry>
							<entry><#if participant.name??>${participant.name}</#if></entry>
							<entry><#if participantsData?api.get(participant)?has_content>${participantsData?api.get(participant)}</#if></entry>
							<entry><#if participant.paymentStatus??><emphasis role='color' color='${participant.paymentStatusColor}'>${participant.paymentStatus}</emphasis></#if><#if participant.unpayed?? && participant.unpayed != 0> (${participant.unpayed},-)</#if></entry>
						</row>
                    </#list>
                </#if>
                <#list 1..10 as x>
					<row valign="middle"><?dbfo row-height="20pt"?>
						<entry/>
						<entry/>
						<entry/>
						<entry/>
					</row>
                </#list>
				</tbody>
			</tgroup>
		</informaltable>
	</section>
</article>