@extends('layouts.app') @section('title', 'Users - ' . config('app.name')) @section('header-left')
| User | Slack Status | Role | Supervisor | Status | Last active | Actions | |
|---|---|---|---|---|---|---|---|
|
@if ($u->avatar_url)
{{ strtoupper(substr($u->name, 0, 1)) }}
@endif
{{ $u->name }}
|
@if ($u->slack_user_id) connected @if ($u->slack_username) ({{ $u->slack_username }}) @endif @if ($u->id !== auth()->id()) @endif @else unlinked @if ($slackConnected ?? false) @endif @endif | {{ $u->email }} | @if ($u->id === auth()->id() && $u->role === 'owner') owner @else @endif | {{ $u->status }} @if ($u->id !== auth()->id()) @endif | {{ $u->last_active_at?->diffForHumans() ?? '—' }} | @if ($u->id !== auth()->id()) @else @endif |