1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<table class="table table-sm datatable wt-table-yahrzeits" data-info="false" data-paging="false" data-searching="false" data-sorting="<?= e('[[3, "asc" ]]') ?>"> 4 <thead> 5 <tr> 6 <th><?= I18N::translate('Name') ?></th> 7 <th><?= I18N::translate('Death') ?></th> 8 <th> 9 <span title="<?= I18N::translate('Anniversary') ?>"> 10 <?= view('icons/anniversary') ?> 11 </span> 12 13 </th> 14 <th><?= I18N::translate('Yahrzeit') ?></th> 15 </tr> 16 </thead> 17 <tbody> 18 19 <?php foreach ($yahrzeits as $yahrzeit) : ?> 20 <tr> 21 <td data-sort="<?= e($yahrzeit->individual->sortName()) ?>"> 22 <a href="<?= e($yahrzeit->individual->url()) ?>"> 23 <?= $yahrzeit->individual->fullName() ?> 24 <?php if ($yahrzeit->individual->alternateName()) : ?> 25 <br> 26 <?= $yahrzeit->individual->alternateName() ?> 27 <?php endif ?> 28 </a> 29 </td> 30 <td data-sort="<?= e($yahrzeit->fact_date->julianDay()) ?>"> 31 <?= $yahrzeit->fact_date->display(true) ?> 32 </td> 33 <td data-sort="<?= e($yahrzeit->fact->anniv) ?>"> 34 <?= I18N::number($yahrzeit->fact->anniv) ?> 35 </td> 36 <td data-sort="<?= e($yahrzeit->yahrzeit_date->julianDay()) ?>"> 37 <?= $yahrzeit->yahrzeit_date->display(true) ?> 38 </td> 39 </tr> 40 <?php endforeach ?> 41 </tbody> 42</table> 43 44<script> 45 $(".wt-table-yahrzeits").dataTable(); 46</script> 47