Skip to content

Commit

Permalink
Update changes-table.phtml - add location icon
Browse files Browse the repository at this point in the history
In the latest changes block the location icon was missing...
  • Loading branch information
HerzScheisse authored and fisharebest committed Apr 3, 2024
1 parent a473b26 commit 9c2569b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/views/modules/recent_changes/changes-table.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ declare(strict_types=1);
use Fisharebest\Webtrees\Family;
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Location;
use Fisharebest\Webtrees\Media;
use Fisharebest\Webtrees\Note;
use Fisharebest\Webtrees\Repository;
Expand Down Expand Up @@ -77,6 +78,9 @@ use Illuminate\Support\Collection;
<?php elseif ($row->record->tag() === Repository::RECORD_TYPE) : ?>
<?= view('icons/repository') ?>
<span class="visually-hidden"><?= I18N::translate('Repository') ?></span>
<?php elseif ($row->record->tag() === Location::RECORD_TYPE) : ?>
<?= view('icons/location') ?>
<span class="visually-hidden"><?= I18N::translate('Location') ?></span>
<?php endif ?>
</td>

Expand Down

0 comments on commit 9c2569b

Please sign in to comment.