Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information about people connected to slide-show photo #5025

Merged
merged 2 commits into from
Sep 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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