Lighten public display and show org or Ladill Queue logo.
Deploy Ladill Queue / deploy (push) Successful in 36s

Remove waiting, estimate, and service queue sidebar; replace text header with customer logo when uploaded.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-29 22:59:19 +00:00
co-authored by Cursor
parent 326769204d
commit 98d14a213a
3 changed files with 66 additions and 111 deletions
@@ -6,6 +6,7 @@ use App\Http\Controllers\Controller;
use App\Models\VoiceAnnouncement;
use App\Services\Qms\DisplayService;
use App\Services\Qms\VoiceAnnouncementService;
use App\Support\OrganizationBranding;
use Illuminate\Http\JsonResponse;
use Illuminate\View\View;
@@ -23,6 +24,7 @@ class DisplayPublicController extends Controller
$this->displays->touch($screen);
$payload = $this->displays->payload($screen);
$organization = $screen->organization;
return view('qms.display.public', [
'screen' => $screen,
@@ -30,6 +32,12 @@ class DisplayPublicController extends Controller
'dataUrl' => '/display/'.$token.'/data',
'playedUrl' => '/display/'.$token.'/announcements/__ID__/played',
'pollMs' => config('qms.display_poll_ms', 1200),
'logoUrl' => $organization
? OrganizationBranding::logoUrl($organization)
: asset(OrganizationBranding::DEFAULT_LOGO),
'logoAlt' => $organization
? OrganizationBranding::logoAlt($organization)
: 'Ladill Queue',
]);
}