mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-24 17:03:27 +03:00
Dropdown navbar menu for services
This commit is contained in:
parent
aadac6a060
commit
54ee7ac924
1 changed files with 10 additions and 2 deletions
|
@ -41,12 +41,20 @@
|
|||
|
||||
<?php $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
|
||||
<li class="nav-item <?= $active . $hidden ?>">
|
||||
<a href="<?= site_url('services') ?>" class="nav-link"
|
||||
<li class="nav-item dropdown <?= $active . $hidden ?>">
|
||||
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown"
|
||||
data-tippy-content="<?= lang('manage_services_hint') ?>">
|
||||
<i class="fas fa-business-time mr-2"></i>
|
||||
<?= lang('services') ?>
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="<?= site_url('services') ?>">
|
||||
<?= lang('services') ?>
|
||||
</a>
|
||||
<a class="dropdown-item" href="<?= site_url('service_categories') ?>">
|
||||
<?= lang('categories') ?>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||
|
|
Loading…
Reference in a new issue