<commit_before><f:layout name="main" />

<f:section name="title">
	Unsere Läufer
</f:section>

<f:section name="menu">
	<ul>
		<li><f:link.action action="new" controller="Registration" pageUid="{registrationNewPageUid}">Als Läufer anmelden</f:link.action></li>
	</ul>
</f:section>

<f:section name="content">
	<div class="registration_new">
		<f:if condition="{registrations}">
			<f:then>
				<f:debug>{events}</f:debug>
				<f:for each="{registrations}" as="eventsOfRuns" key="titleEvent">
					<h2>{titleEvent}</h2>
					<span>{events.{titleEvent}}</span>
					<f:for each="{eventsOfRuns}" as="runs" key="titleRun">
						<h3>{titleRun}</h3>
						<f:for each="{runs}" as="registration">	
							<p>
								<f:if condition="{registration.user.image}">
									<f:image src="uploads/tx_srfeuserregister/{registration.user.image}" alt="User Bild" width="100" height="100c"/> 
								</f:if>
								<f:comment>
									For Admin View
									<f:link.action action="show" arguments="{registration : registration}">
										{registration.name} 
									</f:link.action>
									({registration.user.txassociationGroup.name})
								</f:comment>
								{registration.name}
								<f:if condition="{registration.user.txEcassociationGroup.name}">
									({registration.user.txEcassociationGroup.name})
								</f:if>
								<f:link.action controller="Donation" action="new" arguments="{registration : registration}" pageUid="{donationNewPageUid}" >
									Spenden
								</f:link.action>
							</p>
						</f:for>
					</f:for>
					<br>
				</f:for>
			</f:then><f:else>
				<p>Keine Läufer gefunden</p>
			</f:else>
		</f:if>
	</div>
</f:section>
<commit_msg>Added event information<commit_after>{namespace h=Tx_EcDonationrun_ViewHelpers} 
<f:layout name="main" />

<f:section name="title">
	Unsere Läufer
</f:section>

<f:section name="menu">
	<ul>
		<li><f:link.action action="new" controller="Registration" pageUid="{registrationNewPageUid}">Als Läufer anmelden</f:link.action></li>
	</ul>
</f:section>

<f:section name="content">
	<div class="registration_new">
		<f:if condition="{registrations}">
			<f:then>
				<f:for each="{registrations}" as="eventsOfRuns" key="titleEvent">
					<h2>{titleEvent}</h2>
					<span>{h:arrayKey(obj: events, prop: titleEvent)}</span>
					<f:for each="{eventsOfRuns}" as="runs" key="titleRun">
						<h3>{titleRun}</h3>
						<f:for each="{runs}" as="registration">	
							<p>
								<f:if condition="{registration.user.image}">
									<f:image src="uploads/tx_srfeuserregister/{registration.user.image}" alt="User Bild" width="100" height="100c"/> 
								</f:if>
								<f:comment>
									For Admin View
									<f:link.action action="show" arguments="{registration : registration}">
										{registration.name} 
									</f:link.action>
									({registration.user.txassociationGroup.name})
								</f:comment>
								{registration.name}
								<f:if condition="{registration.user.txEcassociationGroup.name}">
									({registration.user.txEcassociationGroup.name})
								</f:if>
								<f:link.action controller="Donation" action="new" arguments="{registration : registration}" pageUid="{donationNewPageUid}" >
									Spenden
								</f:link.action>
							</p>
						</f:for>
					</f:for>
					<br>
				</f:for>
			</f:then><f:else>
				<p>Keine Läufer gefunden</p>
			</f:else>
		</f:if>
	</div>
</f:section>

{'fraction_non_alphanumeric': 0.18875147232037692, 'fraction_numerical': 0.005889281507656066, 'mean_word_length': 3.388888888888889, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2268993', 'n_tokens_mistral': 1632, 'n_tokens_neox': 1183, 'n_words': 182}