@extends('layouts.app') @section('title', __('Users')) @section('page-title', __('Workspace users')) @section('page-subtitle', auth()->user()->tenant->name) @section('content')
| {{ __('User') }} | {{ __('Role') }} | {{ __('Status') }} | {{ __('Activity (30d)') }} | {{ __('Joined') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
|
{{ $u->initials() }}
@if($pendingTotal > 0)
{{ $pendingTotal > 9 ? '9+' : $pendingTotal }}
@endif
{{ $u->name }}
@if($pendingUploads > 0)
{{ $pendingUploads }} {{ __('new') }}
@endif
@if($pendingRequests > 0)
{{ $pendingRequests }} {{ __('requested') }}
@endif
@if($pendingReview > 0)
{{ $pendingReview }} {{ __('ready') }}
@endif
@if($pendingFeedback > 0)
{{ $pendingFeedback }} {{ __('feedback') }}
@endif
{{ $u->email }}
|
{{ str_replace('_',' ',$u->role) }} | {{ $u->is_active ? __('Active') : __('Inactive') }} |
@php
$up = (int) ($u->recent_uploads_count ?? 0);
$ev = (int) ($u->recent_evaluations_count ?? 0);
$total = $up + $ev;
@endphp
@if($total === 0)
{{ __('No recent activity') }}
@else
|
{{ $u->created_at?->diffForHumans() }} | |
| {{ __('No users yet.') }} | |||||