mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
* [OQRS] hide menu entry only if the feature is disabled
This commit is contained in:
committed by
Christoph Kotte, DG0TM
parent
f1ff18cbb0
commit
ed28899a1b
@@ -393,8 +393,8 @@
|
||||
$location_list = null;
|
||||
}
|
||||
|
||||
if (!($this->config->item('disable_oqrs') ?? false)) {
|
||||
$oqrs_requests = $this->oqrs_model->oqrs_requests($location_list);
|
||||
if ($oqrs_requests > 0) {
|
||||
?>
|
||||
<li><a class="dropdown-item" href="<?php echo site_url('oqrs/requests'); ?>" title="OQRS Requests"><i class="fa fa-id-card"></i> <?php echo lang('menu_oqrs_requests'); ?> <?php if ($oqrs_requests > 0) {
|
||||
echo "<span class=\"badge text-bg-light\">" . $oqrs_requests . "</span>";
|
||||
|
||||
Reference in New Issue
Block a user