diff --git a/resources/themes/pterodactyl/base/api/new.blade.php b/resources/themes/pterodactyl/base/api/new.blade.php index a7a487c3a..aeef9d24b 100644 --- a/resources/themes/pterodactyl/base/api/new.blade.php +++ b/resources/themes/pterodactyl/base/api/new.blade.php @@ -110,35 +110,37 @@ @endif @endforeach -
- @foreach($permissions['admin'] as $block => $perms) -
-
-
-

@lang('base.api.permissions.admin.' . $block . '_header')

-
-
- @foreach($perms as $permission) -
-
- - + @if(Auth::user()->root_admin) +
+ @foreach($permissions['admin'] as $block => $perms) +
+
+
+

@lang('base.api.permissions.admin.' . $block . '_header')

+
+
+ @foreach($perms as $permission) +
+
+ + +
+

@lang('base.api.permissions.admin.' . $block . '.' . $permission . '.desc')

-

@lang('base.api.permissions.admin.' . $block . '.' . $permission . '.desc')

-
- @endforeach + @endforeach +
-
- @if ($loop->iteration % 3 === 0) -
- @endif - @if ($loop->iteration % 2 === 0) -
- @endif - @endforeach -
+ @if ($loop->iteration % 3 === 0) +
+ @endif + @if ($loop->iteration % 2 === 0) +
+ @endif + @endforeach +
+ @endif @endsection