From 111d4900ef60bd5fdd143f3d5f8637eb4d2d212e Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Mon, 3 Nov 2025 14:41:27 +0100 Subject: [PATCH] Only show draft banner if the card had some data --- app/views/cards/container/_status.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/container/_status.html.erb b/app/views/cards/container/_status.html.erb index 0eae3a19d..dcdc28c56 100644 --- a/app/views/cards/container/_status.html.erb +++ b/app/views/cards/container/_status.html.erb @@ -1,4 +1,4 @@ -<% if card.drafted? %> +<% if card.drafted? && (card.title.present? or card.description.present?) %>
This is a draft, it’s only visible to you. <%= button_to card_publish_path(@card), class: "btn txt-small", style: "--btn-background: #{card.color}" do %>