Better prop names

This commit is contained in:
Andy Smith
2025-04-15 13:26:41 -05:00
parent adad6dd657
commit f1dbe1bcaf
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<%= render "cards/display/common/background", card: card %>
<% if card.considering? && card.auto_close_remind? %>
<%= render "cards/display/preview/badge", top: "closes in", days: card.auto_close_days_until, bottom: "days" %>
<%= render "cards/display/preview/badge", label: "Closes in", days: card.auto_close_days_until %>
<% end %>
<% end %>
<% end %>
@@ -3,7 +3,7 @@
<path id="top-half" fill="transparent" d="M 20,100 A 80,80 0 0,1 180,100" />
<text text-anchor="middle" fill="currentColor">
<textPath href="#top-half" startOffset="50%" dominant-baseline="middle">
<%= top %>
<%= label %>
</textPath>
</text>
</svg>
@@ -16,7 +16,7 @@
<path id="bottom-half" d="M 20,0 A 80,80 0 0,0 180,0" fill="transparent" />
<text text-anchor="middle" fill="currentColor">
<textPath href="#bottom-half" startOffset="50%" dominant-baseline="middle">
<%= bottom %>
Days
</textPath>
</text>
</svg>