diff options
| -rw-r--r-- | resources/views/admin/modules.phtml | 13 | ||||
| -rw-r--r-- | resources/views/icons/history.phtml | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/admin/modules.phtml b/resources/views/admin/modules.phtml index feb529004b..3fa125f73a 100644 --- a/resources/views/admin/modules.phtml +++ b/resources/views/admin/modules.phtml @@ -6,6 +6,7 @@ <?php use Fisharebest\Webtrees\Module\ModuleConfigInterface; ?> <?php use Fisharebest\Webtrees\Module\ModuleCustomInterface; ?> <?php use Fisharebest\Webtrees\Module\ModuleFooterInterface; ?> +<?php use Fisharebest\Webtrees\Module\ModuleHistoricEventsInterface; ?> <?php use Fisharebest\Webtrees\Module\ModuleMenuInterface; ?> <?php use Fisharebest\Webtrees\Module\ModuleReportInterface; ?> <?php use Fisharebest\Webtrees\Module\ModuleSidebarInterface; ?> @@ -84,6 +85,10 @@ <?= view('icons/analytics') ?> <span class="sr-only"><?= I18N::translate('Tracking and analytics') ?></span> </th> + <th title="<?= I18N::translate('Historic events') ?>"> + <?= view('icons/history') ?> + <span class="sr-only"><?= I18N::translate('Historic events') ?></span> + </th> <th class="d-none" title="<?= I18N::translate('Themes') ?>"> <?= view('icons/theme') ?> <span class="sr-only"><?= I18N::translate('Themes') ?></span> @@ -205,6 +210,14 @@ - <?php endif ?> </td> + <td class="text-center text-muted" title="<?= I18N::translate('Historic events') ?>"> + <?php if ($module instanceof ModuleHistoricEventsInterface) : ?> + <?= view('icons/history') ?> + <span class="sr-only"><?= I18N::translate('Historic events') ?></span> + <?php else : ?> + - + <?php endif ?> + </td> <td class="text-center text-muted d-none" title="<?= I18N::translate('Theme') ?>"> <?php if ($module instanceof ModuleThemeInterface) : ?> <?= view('icons/theme') ?> diff --git a/resources/views/icons/history.phtml b/resources/views/icons/history.phtml new file mode 100644 index 0000000000..05a90ac852 --- /dev/null +++ b/resources/views/icons/history.phtml @@ -0,0 +1 @@ +<i class="fas fa-history fa-fw wt-icon-history" aria-hidden="true"></i> |
