<table id="user-table" class="table">
    <thead>
        <tr class="row table-header">
            <th class="table-cell">Name</th>
            <th class="table-cell">Contact Methods</th>
            <th class="table-cell">Last Visited</th>
        </tr>
    </thead>
    <tbody>
        @forelse($users as $user)
            <tr class="table-row">
            <td class="table-cell"><a href="{{ route('users.show', [$user->id]) }}">{{ $user->display_name }}</a></td>
            <td class="table-cell">
                <code>{{ $user->email_preview }}</code>
                @if ($user->email_preview && $user->mobile_preview)
                    <span class="footnote"> and </span>
                @endif
                <code>{{ $user->mobile_preview }}</code>
            </td>
            <td class="table-cell footnote">
                {{ $user->last_accessed_at ? $user->last_accessed_at->diffForHumans() : 'more than 2 years ago' }}
            </td>
            </tr>
        @empty
        @endforelse
    </tbody>
</table>

<table id="user-table" class="table">
    <thead>
        <tr class="row table-header">
            <th class="table-cell">Name</th>
            <th class="table-cell">Contact Methods</th>
            <th class="table-cell">Last Visited</th>
        </tr>
    </thead>
    <tbody>
        @forelse($users as $user)
            <tr class="table-row">
            <td class="table-cell"><a href="{{ route('users.show', [$user->id]) }}">{{ $user->display_name }}</a></td>
            <td class="table-cell">
                <code>{{ $user->email_preview }}</code>
                @if ($user->email_preview && $user->mobile_preview)
                    <span class="footnote"> and </span>
                @endif
                <code>{{ $user->mobile_preview }}</code>
            </td>
            <td class="table-cell footnote">
                {{ $user->last_accessed_at ? $user->last_accessed_at->diffForHumans() : 'N/A' }}
            </td>
            </tr>
        @empty
        @endforelse
    </tbody>
</table>

Update 'last_accessed_at' fallback to be clearer.
Update 'last_accessed_at' fallback to be clearer.
