diff --git a/lang/en/rooms.php b/lang/en/rooms.php index d09571019..86e3f39e7 100644 --- a/lang/en/rooms.php +++ b/lang/en/rooms.php @@ -101,7 +101,9 @@ ], 'favorites' => [ 'add' => 'Add to favorites', + 'add_for' => 'Add to favorites: :room', 'remove' => 'Remove from favorites', + 'remove_for' => 'Remove from favorites: :room', ], 'feature_disabled_roomtype' => 'This feature is disabled for this room type. Try selecting a different room type or contact the administrator.', 'feature_disabled_system' => ':name is disabled. Please contact the administrator.', @@ -162,8 +164,12 @@ 'last_ran_till' => 'Last run until :date', 'never_started' => 'Never started before', 'open' => 'Open', + 'owner' => 'Owner', + 'room_type' => 'Room type', 'running_since' => 'Running since :date', + 'short_description' => 'Short description', 'show_details' => 'Show room details', + 'show_details_for' => 'Show details for room ":room"', ], 'show_all' => 'All rooms', 'show_own' => 'Own rooms', diff --git a/resources/css/app/_room.css b/resources/css/app/_room.css index 4227e2ef9..85320c049 100644 --- a/resources/css/app/_room.css +++ b/resources/css/app/_room.css @@ -167,3 +167,15 @@ background-color: var(--p-amber-500); } } + +.room-card:focus-within { + @apply ring; +} + +.room-card:focus-within a:focus { + outline: none; +} + +.room-card:has(button:focus) { + @apply ring-0; +} diff --git a/resources/js/components/RoomCard.vue b/resources/js/components/RoomCard.vue index af48193fe..f34ab0044 100644 --- a/resources/js/components/RoomCard.vue +++ b/resources/js/components/RoomCard.vue @@ -1,59 +1,53 @@ - +