<?php if (count($notizenbewerbung) > 0): ?>
	<br>
	<div class="row">
		<div class="col-lg-12">
			<table class="table-bordered" align="center" width="100%">
				<thead>
				<tr>
					<th colspan="2" class="text-center"><?php echo  ucfirst($this->p->t('infocenter','anmerkungenZurBewerbung')) ?></th>
				</tr>
				</thead>
				<tbody>
				<?php foreach ($notizenbewerbung as $notiz): ?>
					<tr>
						<td class="text-center">
							<?php echo date_format(date_create($notiz->insertnotiz), 'd.m.Y H:i:s') ?>
						</td>
						<td>
							<?php (!isset($notiz->kurzbzlang)) ?: print_r('(' . nl2br($notiz->kurzbzlang) . ') - ') ?>
							<?php echo nl2br($notiz->text) ?>
						</td>
						<td>
							<a href="mailto:<?php echo htmlspecialchars($notiz->email)?>?body=<?php echo rawurlencode($notiz->text);; ?>"><i class="fa fa-envelope"></i></a>
						</td>
					</tr>
				<?php endforeach; ?>
				</tbody>
			</table>
		</div>
	</div>
<?php endif; ?>