Skip to content

Commit

Permalink
More information about people connected to slide-show photo (#5025)
Browse files Browse the repository at this point in the history
* More information about people connected to slide-show photo

PR related to forum discussion at : https://www.webtrees.net/index.php/forum/9-request-for-new-feature/39211-more-information-about-people-connected-to-photo#106897

* Update slide-show.phtml

---------

Co-authored-by: Greg Roach <[email protected]>
  • Loading branch information
kiwi3685 and fisharebest committed Sep 14, 2024
1 parent b241c48 commit 9db3b89
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions resources/views/modules/random_media/slide-show.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,17 @@ use Illuminate\Support\Collection;

<ul class="fa-ul wt-slide-show-links">
<?php foreach ($linked_individuals as $individual) : ?>
<li>
<li class="wt-slide-show-link">
<span class="fa-li" title="<?= I18N::translate('Individual') ?>"><?= view('icons/individual') ?></span>
<a href="<?= e($individual->url()) ?>" class="wt-slide-show-link">
<a href="<?= e($individual->url()) ?>">
<?= $individual->fullName() ?>
<span class="wt-slide-show-link-lifespan"><?= $individual->lifespan() ?></span>
</a>
</li>
<?php endforeach ?>

<?php foreach ($linked_families as $family) : ?>
<li>
<li class="wt-slide-show-link">
<span class="fa-li" title="<?= I18N::translate('Family') ?>"><?= view('icons/family') ?></span>
<a href="<?= e($family->url()) ?>" class="wt-slide-show-link">
<?= $family->fullName() ?>
Expand All @@ -79,7 +80,7 @@ use Illuminate\Support\Collection;
<?php endforeach ?>

<?php foreach ($linked_sources as $source) : ?>
<li>
<li class="wt-slide-show-link">
<span class="fa-li" title="<?= I18N::translate('Source') ?>"><?= view('icons/source') ?></span>
<a href="<?= e($source->url()) ?>" class="wt-slide-show-link">
<?= $source->fullName() ?>
Expand Down

0 comments on commit 9db3b89

Please sign in to comment.