Label onboarding status and path badges on company detail
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 <noreply@anthropic.com>
This commit is contained in:
@@ -459,7 +459,7 @@
|
||||
<h6 class="mb-0"><i class="bi bi-rocket-takeoff me-2"></i>Setup Progress</h6>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<div class="d-flex flex-wrap gap-2 mb-3">
|
||||
@{
|
||||
var (obBadge, obLabel) = onboarding.Status switch {
|
||||
OnboardingStatus.Complete => ("bg-success", "Complete"),
|
||||
@@ -468,10 +468,16 @@
|
||||
_ => ("bg-light text-dark border", "Not Started")
|
||||
};
|
||||
}
|
||||
<span class="badge @obBadge">@obLabel</span>
|
||||
<span>
|
||||
<span class="text-muted small me-1">Status:</span>
|
||||
<span class="badge @obBadge">@obLabel</span>
|
||||
</span>
|
||||
@if (!string.IsNullOrEmpty(onboarding.OnboardingPath))
|
||||
{
|
||||
<span class="badge bg-info ms-1">@onboarding.OnboardingPath</span>
|
||||
<span>
|
||||
<span class="text-muted small me-1">Path:</span>
|
||||
<span class="badge bg-info">@onboarding.OnboardingPath</span>
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user