mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
Only admins can modify working plan exceptions at the moment
This commit is contained in:
parent
bbaac53308
commit
af5ddfaac4
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@
|
||||||
<i class="far fa-plus-square mr-2"></i>
|
<i class="far fa-plus-square mr-2"></i>
|
||||||
<?= lang('unavailable') ?>
|
<?= lang('unavailable') ?>
|
||||||
</a>
|
</a>
|
||||||
<a class="dropdown-item" href="#" id="insert-working-plan-exception">
|
<a class="dropdown-item" href="#" id="insert-working-plan-exception"
|
||||||
|
<?= $this->session->userdata('role_slug') !== 'admin' ? 'hidden' : '' ?>>
|
||||||
<i class="far fa-plus-square mr-2"></i>
|
<i class="far fa-plus-square mr-2"></i>
|
||||||
<?= lang('working_plan_exception') ?>
|
<?= lang('working_plan_exception') ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue