Fix minor error in 'CycleAnalytics#show'
- <Not enough data> wasn't being displayed in the 'Issue' and 'Plan' sections.
This commit is contained in:
parent
df6c9c33b6
commit
ce6bcdd004
|
@ -4,14 +4,14 @@
|
|||
- if issue = @cycle_analytics.issue
|
||||
= distance_of_time_in_words issue
|
||||
- else
|
||||
<Not enough data>
|
||||
= "<Not enough data>"
|
||||
|
||||
%li.list-group-item
|
||||
Plan:
|
||||
- if plan = @cycle_analytics.plan
|
||||
= distance_of_time_in_words plan
|
||||
- else
|
||||
<Not enough data>
|
||||
= "<Not enough data>"
|
||||
|
||||
%li.list-group-item
|
||||
Code:
|
||||
|
|
Loading…
Reference in New Issue