From 787d1504ef74ac4a51e3cef255f6660514d67fc9 Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Tue, 12 May 2026 22:32:08 -0400 Subject: [PATCH] Label onboarding status and path badges on company detail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The two floating badges in the Onboarding > Setup Progress card had no context — "Not Started" and a path name appeared without explanation. Added inline "Status:" and "Path:" labels so both badges are immediately readable without needing a tooltip. Co-Authored-By: Claude Sonnet 4.6 --- src/PowderCoating.Web/Views/Companies/Details.cshtml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/PowderCoating.Web/Views/Companies/Details.cshtml b/src/PowderCoating.Web/Views/Companies/Details.cshtml index 3f6c9fd..a2d36be 100644 --- a/src/PowderCoating.Web/Views/Companies/Details.cshtml +++ b/src/PowderCoating.Web/Views/Companies/Details.cshtml @@ -459,7 +459,7 @@
Setup Progress
-
+
@{ var (obBadge, obLabel) = onboarding.Status switch { OnboardingStatus.Complete => ("bg-success", "Complete"), @@ -468,10 +468,16 @@ _ => ("bg-light text-dark border", "Not Started") }; } - @obLabel + + Status: + @obLabel + @if (!string.IsNullOrEmpty(onboarding.OnboardingPath)) { - @onboarding.OnboardingPath + + Path: + @onboarding.OnboardingPath + }