From 319125963d2436bbb984c3f24e213bdcc8e4d04e Mon Sep 17 00:00:00 2001 From: maebeale Date: Mon, 19 Jan 2026 20:26:17 -0500 Subject: [PATCH 1/2] CommunityNews and Stories should be printable --- app/views/community_news/show.html.erb | 2 ++ app/views/stories/show.html.erb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/views/community_news/show.html.erb b/app/views/community_news/show.html.erb index 4f36e0987..067d6bcc6 100644 --- a/app/views/community_news/show.html.erb +++ b/app/views/community_news/show.html.erb @@ -21,6 +21,8 @@ <%= link_to "Website", safe_url(@community_news.external_url), target: "_blank", rel: "noopener noreferrer", class: "btn btn-secondary-outline" %> <% end %> + + <%= print_button(@community_news, printable_type: "CommunityNews", button_text: "Print page") %> diff --git a/app/views/stories/show.html.erb b/app/views/stories/show.html.erb index 44f6c167c..06918ace3 100644 --- a/app/views/stories/show.html.erb +++ b/app/views/stories/show.html.erb @@ -22,6 +22,8 @@ <%= link_to "Edit", edit_story_path(@story), class: "btn btn-secondary-outline admin-only bg-blue-100" %> <% end %> + + <%= print_button(@story, printable_type: "Story", button_text: "Print page") %> From 5812324c59c77640e170d6a766fad6a12617938a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 20 Jan 2026 01:27:18 +0000 Subject: [PATCH 2/2] Initial plan