From ce6bcdd0043caf267d5d4478d45741aa4ecf1ac9 Mon Sep 17 00:00:00 2001 From: Timothy Andrew <mail@timothyandrew.net> Date: Fri, 26 Aug 2016 15:47:26 +0530 Subject: [PATCH] Fix minor error in 'CycleAnalytics#show' - <Not enough data> wasn't being displayed in the 'Issue' and 'Plan' sections. --- app/views/projects/cycle_analytics/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml index 608712c4d5b..160c8eaca72 100644 --- a/app/views/projects/cycle_analytics/show.html.haml +++ b/app/views/projects/cycle_analytics/show.html.haml @@ -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: -- GitLab