Merge pull request #1462 from basecamp/hide-closure-not-now

This shouldn't be visible when the card is already postponed
This commit is contained in:
Jason Zimdars
2025-11-03 11:51:59 -06:00
committed by GitHub
+2 -2
View File
@@ -12,9 +12,9 @@
<% end %>
<div id="<%= dom_id(card, :closure_notice) %>">
<% if card.entropic? && card.open? %>
<% if card.entropic? && card.open? && !card.postponed? %>
<div class="card-perma__closure-message">
Closes as "Not Now" <%= local_datetime_tag(card.entropy.auto_clean_at, style: :indays) -%> if there's no activity.
Closes as Not Now <%= local_datetime_tag(card.entropy.auto_clean_at, style: :indays) -%> if theres no activity.
</div>
<% end %>
</div>