<#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>Seznam přihlášených psů</title>
		<para>
			<emphasis role='bold'>
				<emphasis
						role='size'
						font-size='120%'>Bonitace psů - ${event.name}<?linebreak?>
                        Den: ${event.startTime?string["dd.MM.yyyy"]}<?linebreak?>
						Místo: <#if event.locationAdress.municipalityText?has_content>${event.locationAdress.municipalityText}</#if>
					</emphasis>
			</emphasis>
		</para>
		<informaltable frame='all'>
			<tgroup cols="8" align='left' colsep='1' rowsep='1'>
				<colspec colwidth='50pt'/>
				<colspec colwidth='90pt'/>
				<colspec colwidth='60pt'/>
				<colspec colwidth='50pt'/>
				<colspec colwidth='60pt'/>
				<colspec colwidth='50pt'/>
				<colspec colwidth='90pt'/>
				<colspec colwidth='*'/>
				<thead>
				<row>
					<entry>Los č.</entry>
					<entry>Jméno psa</entry>
					<entry>Plemeno</entry>
					<entry>Pohlaví</entry>
					<entry>Zapsán</entry>
					<entry>Tet.č./čip</entry>
					<entry>Majitel</entry>
					<entry>Poznámka</entry>
				</row>
				</thead>
				<tbody>
                <#list participantsData as participant>
                    <#assign participantInfo = participantInfos?api.get(participant.id)>
                    <#list participantAssets?api.get(participant.id) as participantAsset>
                        <#if participantAsset.assetData?has_content>
                           <#assign asset = participantAsset.assetData>
                <row valign="middle"><?dbfo row-height="12pt"?>
	                <entry></entry>
	                <entry><#if asset.name??>${asset.name}</#if></entry>
	                <entry>
                        <#if asset.renderedAttributes??>
			                <#list asset.renderedAttributes?keys as label>
				                <#if label == 'Plemeno'>
				                    ${asset.renderedAttributes?api.get(label)}
				                </#if>
			                </#list>
                        </#if>
                        </entry>
	                <entry>
		                <#if asset.renderedAttributes??>
			                <#list asset.renderedAttributes?keys as label>
				                <#if label == 'Pohlaví'>
				                    ${asset.renderedAttributes?api.get(label)}
				                </#if>
			                </#list>
                        </#if>
	                </entry>
	                <entry>
                         <#if asset.number??>${asset.number}</#if>
                        </entry>
	                <entry></entry>
	                <entry><#if participant.name??>${participant.name}</#if></entry>
	                <entry></entry>
                </row>
                        </#if>
                    </#list>
				</#list>
                <#list 1..10 as x>
					<row valign="middle"><?dbfo row-height="20pt"?>
						<entry/>
						<entry/>
						<entry/>
						<entry/>
						<entry/>
						<entry/>
						<entry/>
						<entry/>
					</row>
                </#list>
				</tbody>
			</tgroup>
		</informaltable>
	</section>
</article>