Only show time to finished if not finished

This commit is contained in:
Brenda Wallace
2018-04-17 10:03:59 +12:00
parent 934bd9adb8
commit 3ee2537438

View File

@@ -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