From d8b353f5863c4117111ccd94e60e92375c3e6193 Mon Sep 17 00:00:00 2001 From: Katya Sarmiento <5871075+Kitkatnik@users.noreply.github.com> Date: Mon, 27 Apr 2026 13:03:57 -0400 Subject: [PATCH] Admin schedule: show volunteer RSVPs as signups / capacity --- app/views/admin/schedule_items/index.html.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/admin/schedule_items/index.html.erb b/app/views/admin/schedule_items/index.html.erb index 3c46f34..7e17d4f 100644 --- a/app/views/admin/schedule_items/index.html.erb +++ b/app/views/admin/schedule_items/index.html.erb @@ -56,7 +56,13 @@ <% end %> <%= item.host.presence || "—" %> - <%= item.admin_rsvp_count %> + + <% if item.volunteer? && item.volunteer_capacity %> + <%= item.volunteer_signup_count %> / <%= item.volunteer_capacity %> + <% else %> + <%= item.admin_rsvp_count %> + <% end %> +
<%= link_to "Edit", edit_admin_schedule_item_path(item), class: "btn btn-muted btn-small" %>