diff --git a/app/views/cards/display/_preview.html.erb b/app/views/cards/display/_preview.html.erb index d6b35c135..7bba36249 100644 --- a/app/views/cards/display/_preview.html.erb +++ b/app/views/cards/display/_preview.html.erb @@ -30,7 +30,7 @@ <%= render "cards/display/common/background", card: card %> <% if card.closing_soon? %> - <%= render "cards/display/preview/bubble", label: "Closes in", days: card.days_until_close %> + <%= render "cards/display/preview/bubble", days: card.days_until_close %> <% end %> <% end %> <% end %> diff --git a/app/views/cards/display/preview/_bubble.html.erb b/app/views/cards/display/preview/_bubble.html.erb index 1b90ae83c..e9401ffec 100644 --- a/app/views/cards/display/preview/_bubble.html.erb +++ b/app/views/cards/display/preview/_bubble.html.erb @@ -3,20 +3,20 @@ - <%= label %> + <%= days < 1 ? "Closes" : "Closes in" %> - <%= days %> + <%= days < 1 ? "!" : days %> - <%= "Day".pluralize(days) %> + <%= days < 1 ? "today" : "Day".pluralize(days) %>