mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-31 16:28:59 +02:00
Hide from UI if not admin
This commit is contained in:
parent
e045ef443a
commit
cb62e6a96d
@ -110,6 +110,7 @@
|
|||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
@if(Auth::user()->root_admin)
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach($permissions['admin'] as $block => $perms)
|
@foreach($permissions['admin'] as $block => $perms)
|
||||||
<div class="col-lg-4 col-sm-6">
|
<div class="col-lg-4 col-sm-6">
|
||||||
@ -140,5 +141,6 @@
|
|||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</form>
|
</form>
|
||||||
@endsection
|
@endsection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user