Simplify unplaced-patient copy on nursing charts.
Deploy Ladill Care / deploy (push) Successful in 1m9s

Keep a short patient-focused empty state and unit links without explaining nurse duty.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 16:39:04 +00:00
co-authored by Cursor
parent 5c394cec2e
commit 6ab9caae27
2 changed files with 10 additions and 21 deletions
+9 -19
View File
@@ -142,25 +142,15 @@
@else
<div class="rounded-xl border border-dashed border-slate-200 px-3 py-3 text-slate-600">
<p class="font-medium text-slate-800">This patient is not on a care unit right now.</p>
@if (($nurseDutyUnits ?? collect())->isNotEmpty())
<p class="mt-1 text-sm text-slate-500">
You are on duty at
{{ $nurseDutyUnits->pluck('name')->join(', ') }}
this chart is about the patients placement, not yours.
</p>
<p class="mt-2 flex flex-wrap gap-3">
@foreach ($nurseDutyUnits as $dutyUnit)
<a href="{{ route('care.nursing.station', ['unit' => $dutyUnit->id]) }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-800">
Open {{ $dutyUnit->name }}
</a>
@endforeach
</p>
@else
<p class="mt-1 text-sm text-slate-500">
Ask a charge nurse to place them, or open
<a href="{{ route('care.nursing.station') }}" class="font-medium text-indigo-600 hover:text-indigo-800">My care unit</a>.
</p>
@endif
<p class="mt-2 flex flex-wrap gap-3">
@forelse ($nurseDutyUnits ?? [] as $dutyUnit)
<a href="{{ route('care.nursing.station', ['unit' => $dutyUnit->id]) }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-800">
Open {{ $dutyUnit->name }}
</a>
@empty
<a href="{{ route('care.nursing.station') }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-800">My care unit</a>
@endforelse
</p>
</div>
@endif