From 2449c1ba38b46f79ceb373afb09977218c91d5c4 Mon Sep 17 00:00:00 2001 From: Katya Sarmiento <5871075+Kitkatnik@users.noreply.github.com> Date: Fri, 24 Apr 2026 16:38:09 -0400 Subject: [PATCH] Show Public/Private badge on My Plan items Attendees can now tell at a glance which items on their plan are official public events vs private custom items, matching what admins see on the Schedule Items index. Uses the existing .item-badge pattern with new public (filled mint) and private (outlined gray) variants. --- app/assets/stylesheets/application.css | 12 ++++++++++++ app/views/plan/_plan_item.html.erb | 3 +++ 2 files changed, 15 insertions(+) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 7b6df89..a48a544 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -539,6 +539,18 @@ hr { padding: 0.0625rem 0.4375rem; } +.item-badge--public { + background-color: #E6F4EC; + color: #1F6B45; +} + +.item-badge--private { + background-color: transparent; + color: #525C66; + border: 1px solid #c8cdd1; + padding: 0.0625rem 0.4375rem; +} + .item-badge--tbd { background-color: transparent; color: #7a8189; diff --git a/app/views/plan/_plan_item.html.erb b/app/views/plan/_plan_item.html.erb index 1989e44..5cc340d 100644 --- a/app/views/plan/_plan_item.html.erb +++ b/app/views/plan/_plan_item.html.erb @@ -29,6 +29,9 @@