@extends('layouts.librenmsv1')
@section('title', __('Edit user'))
@section('content')
@if($deviceCount == 'all')
{{ __('permissions.permissions.device_all') }}
@else
{{ __('Grant access to new device') }}
| {{ __('Device') }} |
{{ __('Action') }} |
@forelse($devicePermissions as $devicePermission)
| {{ $devicePermission->displayName() }} |
|
@empty
| {{ __('permissions.permissions.none_configured') }} |
@endforelse
@endif
@if($deviceGroupCount == 'all')
{{ __('permissions.permissions.device_group_all') }}
@else
{{ __('Grant access to new Device Group') }}
| {{ __('Device Group') }} |
{{ __('Action') }} |
@forelse($deviceGroupPermissions as $deviceGroupPermission)
| {{ $deviceGroupPermission->name }} |
|
@empty
| {{ __('permissions.permissions.none_configured') }} |
@endforelse
@endif
@if($portCount == 'all')
{{ __('permissions.permissions.port_all') }}
@else
{{ __('Grant access to new interface') }}
| {{ __('Port') }} |
{{ __('Action') }} |
@forelse($portPermissions as $portPermission)
|
{{ $portPermission->device?->displayName() }}
- {{ $portPermission->getLabel() }}
{{ $portPermission->getDescription() }}
|
|
@empty
| {{ __('permissions.permissions.none_configured') }} |
@endforelse
@endif
@if($billCount == 'all')
{{ __('permissions.permissions.bill_all') }}
@else
{{ __('Grant access to new bill') }}
| {{ __('Bill') }} |
{{ __('Action') }} |
@forelse($billPermissions as $billPermission)
| {{ $billPermission->bill_name }} |
|
@empty
| {{ __('permissions.permissions.none_configured') }} |
@endforelse
@endif
@endsection
@section('javascript')
@endsection