xref: /webtrees/resources/views/modules/stories/list.phtml (revision d70512ab02636ee884ef6d7907223ed02c754ff5)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<h2 class="wt-page-title"><?= $title ?></h2>
8
9<table class="table table-bordered w-100">
10    <thead>
11        <tr>
12            <th><?= I18N::translate('Story title') ?></th>
13            <th><?= I18N::translate('Individual') ?></th>
14        </tr>
15    </thead>
16    <tbody>
17        <?php foreach ($stories as $story) : ?>
18            <tr>
19                <td>
20                    <?= e($story->title) ?>
21                </td>
22                <td>
23                    <a href="<?= e($story->individual->url()) ?>#tab-stories">
24                        <?= $story->individual->fullName() ?>
25                    </a>
26                </td>
27            </tr>
28        <?php endforeach ?>
29    </tbody>
30</table>
31