<commit_before><?php echo \View::instance()->render('header.php') ?>

<div class="container">
	<div class="page-header">
		<h1><?php echo \F3::get('lang.RegistrationsListHeader') ?></h1>
	</div>

	<p><?php echo \F3::get('lang.RegistrationsListIntro', count($registrations)) ?></p>
</div>

<div class="table-responsive">
	<table class="table table-striped">
		<thead>
			<th style="white-space: nowrap;"><?php echo \F3::get('lang.Email') ?></th>
			<th style="white-space: nowrap;"><?php echo \F3::get('lang.DateEntered') ?></th>
			<th style="white-space: nowrap;"><?php echo \F3::get('lang.DatePaid') ?></th>
	<?php foreach ($fieldColumns as $column): ?>
			<th style="white-space: nowrap;"><?php echo $column ?></th>
	<?php endforeach; ?>
		</thead>
		<tbody>
	<?php foreach ($registrations as $registration): ?>
			<tr>
				<td><?php echo $registration->getEmail() ?></td>
				<td><?php echo strftime("%c", strtotime($registration->getDateEntered())) ?></td>
				<td><?php echo $registration->getDatePaid() ? strftime("%c", strtotime($registration->getDatePaid())) : "" ?></td>
	<?php foreach ($fieldColumns as $column): ?>
				<td><?php echo $registration->hasField($column)
					? (
						is_array($registration->getField($column))
						? implode(', ', $registration->getField($column))
						: $registration->getField($column)
						)
					: "" ?></td>
	<?php endforeach; ?>
			</tr>
	<?php endforeach; ?>
		</tbody>
	</table>
</div><commit_msg>Pretty dashes for empty columns<commit_after><?php echo \View::instance()->render('header.php') ?>

<div class="container">
	<div class="page-header">
		<h1><?php echo \F3::get('lang.RegistrationsListHeader') ?></h1>
	</div>

	<p><?php echo \F3::get('lang.RegistrationsListIntro', count($registrations)) ?></p>
</div>

<div class="table-responsive">
	<table class="table table-striped">
		<thead>
			<th style="white-space: nowrap;"><?php echo \F3::get('lang.Email') ?></th>
			<th style="white-space: nowrap;"><?php echo \F3::get('lang.DateEntered') ?></th>
			<th style="white-space: nowrap;"><?php echo \F3::get('lang.DatePaid') ?></th>
	<?php foreach ($fieldColumns as $column): ?>
			<th style="white-space: nowrap;"><?php echo $column ?></th>
	<?php endforeach; ?>
		</thead>
		<tbody>
	<?php foreach ($registrations as $registration): ?>
			<tr>
				<td><?php echo $registration->getEmail() ?></td>
				<td><?php echo strftime("%c", strtotime($registration->getDateEntered())) ?></td>
				<td><?php echo $registration->getDatePaid() ? strftime("%c", strtotime($registration->getDatePaid())) : "&mdash;" ?></td>
	<?php foreach ($fieldColumns as $column): ?>
				<td><?php echo $registration->hasField($column)
					? (
						is_array($registration->getField($column))
						? implode(', ', $registration->getField($column))
						: $registration->getField($column)
						)
					: "&mdash;" ?></td>
	<?php endforeach; ?>
			</tr>
	<?php endforeach; ?>
		</tbody>
	</table>
</div>
{'fraction_non_alphanumeric': 0.23978201634877383, 'fraction_numerical': 0.004768392370572207, 'mean_word_length': 4.747553816046967, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 123, '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': '4142759', 'n_tokens_mistral': 1140, 'n_tokens_neox': 1028, 'n_words': 203}