From af1a000afa3077e56247bbfc3d066101204b908f Mon Sep 17 00:00:00 2001 From: bernardhanna Date: Mon, 8 Jun 2026 14:14:13 +0100 Subject: [PATCH] Fix duplicate status label on grassroots grants hubs. Show the status line once in the accordion header and strip any embedded Status paragraph from the expanded body content. Co-authored-by: Cursor --- app/GrassrootsGrantsHub.php | 35 +++++++++++++++---- .../views/static/grassroots-grants.blade.php | 3 -- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/app/GrassrootsGrantsHub.php b/app/GrassrootsGrantsHub.php index 52dc0e80b..9474ea489 100644 --- a/app/GrassrootsGrantsHub.php +++ b/app/GrassrootsGrantsHub.php @@ -77,17 +77,38 @@ public function statusLabel(): ?string public function statusBodyHtml(): string { - $message = trim(strip_tags((string) ($this->status_message ?? ''), '