forked from mirrors/easyappointments
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 $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||||
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
|
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
|
||||||
<li class="nav-item <?= $active . $hidden ?>">
|
<li class="nav-item dropdown <?= $active . $hidden ?>">
|
||||||
<a href="<?= site_url('services') ?>" class="nav-link"
|
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown"
|
||||||
data-tippy-content="<?= lang('manage_services_hint') ?>">
|
data-tippy-content="<?= lang('manage_services_hint') ?>">
|
||||||
<i class="fas fa-business-time mr-2"></i>
|
<i class="fas fa-business-time mr-2"></i>
|
||||||
<?= lang('services') ?>
|
<?= lang('services') ?>
|
||||||
</a>
|
</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>
|
</li>
|
||||||
|
|
||||||
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
||||||
|
|
Loading…
Reference in a new issue