xref: /webtrees/resources/views/modules/stories/list.phtml (revision 89d880da80f202b08b9fe837f38a87b48c6d2a97)
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