mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-31 20:51:02 -05:00
show "finished" when planting is finished
This commit is contained in:
@@ -23,7 +23,9 @@
|
||||
= crop_icon(@planting.crop)
|
||||
%strong= @planting.crop.name.titleize
|
||||
%small.text-muted= @planting.crop.default_scientific_name
|
||||
- if @planting.percentage_grown.present?
|
||||
- if @planting.finished?
|
||||
Finished
|
||||
- elsif @planting.percentage_grown.present?
|
||||
#{@planting.percentage_grown.to_i}%
|
||||
= render 'timeline', planting: @planting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user