Rename My ward to My care unit in nurse station UI.
Deploy Ladill Care / deploy (push) Successful in 40s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 15:57:25 +00:00
co-authored by Cursor
parent 45da731561
commit 218023746d
6 changed files with 10 additions and 10 deletions
@@ -21,7 +21,7 @@
@if ($canAdminUnits)
<a href="{{ route('care.care-units.index') }}" class="text-indigo-600 hover:text-indigo-800">Care units</a>
@elseif ($canStation)
<a href="{{ route('care.nursing.station', ['unit' => $unit->id]) }}" class="text-indigo-600 hover:text-indigo-800">My ward</a>
<a href="{{ route('care.nursing.station', ['unit' => $unit->id]) }}" class="text-indigo-600 hover:text-indigo-800">My care unit</a>
@else
Care units
@endif
@@ -36,7 +36,7 @@
auth()->user() ? app(\App\Services\Care\OrganizationResolver::class)->memberFor(auth()->user()) : null,
'nursing.station.view'
))
<a href="{{ route('care.nursing.station', ['unit' => $entry->care_unit_id]) }}" class="rounded-lg bg-slate-900 px-2.5 py-1 text-xs font-semibold text-white hover:bg-slate-800">Open ward</a>
<a href="{{ route('care.nursing.station', ['unit' => $entry->care_unit_id]) }}" class="rounded-lg bg-slate-900 px-2.5 py-1 text-xs font-semibold text-white hover:bg-slate-800">Open care unit</a>
@endif
<span class="rounded-full bg-teal-100 px-2.5 py-0.5 text-xs font-medium text-teal-800">
{{ config('care.roster_entry_statuses.'.$entry->status, $entry->status) }}
@@ -1,8 +1,8 @@
<x-app-layout title="My ward">
<x-app-layout title="My care unit">
<div class="space-y-6">
<div class="flex flex-wrap items-start justify-between gap-4">
<div>
<h1 class="text-2xl font-semibold text-slate-900">My ward</h1>
<h1 class="text-2xl font-semibold text-slate-900">My care unit</h1>
<p class="mt-1 text-sm text-slate-500">
Patients on units youre rostered or placed on today chart meds, vitals, notes, and handovers.
</p>
+1 -1
View File
@@ -33,7 +33,7 @@
}
if ($permissions->can($member, 'nursing.station.view')) {
$nav[] = ['name' => 'My ward', 'route' => route('care.nursing.station'), 'active' => request()->routeIs('care.nursing.station')
$nav[] = ['name' => 'My care unit', 'route' => route('care.nursing.station'), 'active' => request()->routeIs('care.nursing.station')
|| (request()->routeIs('care.care-units.mar')
|| request()->routeIs('care.care-units.notes')
|| request()->routeIs('care.care-units.handovers*')