Remove beta and need to be admin for sat pass (for now)

This commit is contained in:
Andreas Kristiansen
2024-12-09 11:05:52 +01:00
parent e25a86b98d
commit 26bf9cd2d1

View File

@@ -260,8 +260,10 @@
<?php if (ENVIRONMENT == "development") { ?>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('satellite/flightpath'); ?>" title="Manage Satellites"><i class="fas fa-satellite"></i> <?= __("Satellite Flightpath"); ?> <span class="badge text-bg-danger">Beta</span></a>
<?php } ?>
<?php if (($this->config->item('use_auth')) && ($this->session->userdata('user_type') == 99)) { ?> <!-- ADMIN -->
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="<?php echo site_url('satellite/pass'); ?>" title="Search for satellite passes"><i class="fas fa-satellite"></i> <?= __("Satellite Pass"); ?> <span class="badge text-bg-danger">Beta</span></a>
<a class="dropdown-item" href="<?php echo site_url('satellite/pass'); ?>" title="Search for satellite passes"><i class="fas fa-satellite"></i> <?= __("Satellite Pass"); ?></a>
<?php } ?>
</ul>
</li>