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