mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-13 02:35:22 -04:00
Only show time to finished if not finished
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
- if planting.zombie?
|
||||
%span.badge.badge-danger zombie
|
||||
- elsif planting.living_past_predicted_finished?
|
||||
|
||||
- else
|
||||
%span.badge.badge-light
|
||||
= days_from_now_to_finished(planting)
|
||||
days until finished
|
||||
|
||||
Reference in New Issue
Block a user