Fix minor error in 'CycleAnalytics#show'

- <Not enough data> wasn't being displayed in the 'Issue' and 'Plan'
  sections.
This commit is contained in:
Timothy Andrew 2016-08-26 15:47:26 +05:30
parent df6c9c33b6
commit ce6bcdd004
1 changed files with 2 additions and 2 deletions

View File

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