@extends('layouts.app') @push('pageTitle') {{ __('labels.groups') }} @endpush @push('css') @endpush @section('content')
| # | {{ __('labels.name') }} | {{ __('labels.description') }} | {{ __('labels.total_members') }} | {{ __('labels.created_at') }} | {{ __('labels.action') }} |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{-- Name --}}
@if($item->logo_path)
{{ strtoupper(substr($item->name, 0, 2)) }}
@endif
{{ $item->name }}@if($item->creator) {{ $item->author_name ?? (auth()->check() ? auth()->user()->name : null) }} @endif |
{{-- Description --}}
@if($item->description)
{{ Str::limit($item->description, 30, '...') }}
@else
-
@endif
|
{{-- Total Members --}}
{{ $item->total_members_count }}
{{-- @if($item->active_members_count > 0)
{{ $item->active_members_count }}
@endif --}}
|
{{-- Created At --}}
{{ $item->created_at?->format('d.m.Y') }}
{{ $item->created_at?->format('H:i') }}
{{ $item->created_at?->shortRelativeDiffForHumans() }}
|
{{-- Actions --}}