diff options
| author | Greg Roach <fisharebest@gmail.com> | 2021-04-29 10:49:17 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2021-04-29 10:51:05 +0100 |
| commit | 5c55f16e137202e14b53a60d350960fbf8ff216d (patch) | |
| tree | 1344a02e641152786f83ca6514a735a81b654367 | |
| parent | 324353bfa4834e2907a17a882ae20b5fd670479b (diff) | |
| download | webtrees-5c55f16e137202e14b53a60d350960fbf8ff216d.tar.gz webtrees-5c55f16e137202e14b53a60d350960fbf8ff216d.tar.bz2 webtrees-5c55f16e137202e14b53a60d350960fbf8ff216d.zip | |
Fix: #3866 - disabled modules not shown correctly in control panel
| -rw-r--r-- | resources/views/admin/control-panel.phtml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/views/admin/control-panel.phtml b/resources/views/admin/control-panel.phtml index 9b5644795e..45236efced 100644 --- a/resources/views/admin/control-panel.phtml +++ b/resources/views/admin/control-panel.phtml @@ -670,9 +670,8 @@ use Illuminate\Support\Collection; <ul class="fa-ul"> <?php foreach ($other_modules as $module) : ?> <li> - <span class="fa-li"><?= view('icons/module') ?></span> - <?php if ($module->isEnabled()) : ?> + <span class="fa-li"><?= view('icons/module') ?></span> <?php if ($module instanceof ModuleConfigInterface) : ?> <a href="<?= e($module->getConfigLink()) ?>"> <?= $module->title() ?> @@ -684,7 +683,7 @@ use Illuminate\Support\Collection; <?php else : ?> <span class="text-muted"> <span class="fa-li"><?= view('icons/module') ?></span> - <?= $module->title() ?> + <?= $module->title() ?> <?php if ($module instanceof ModuleConfigInterface) : ?> <?= view('icons/preferences') ?> <?php endif ?> |
