summaryrefslogtreecommitdiff
path: root/app/views/projects/cycle_analytics
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-26 15:47:26 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-08-26 16:28:20 +0530
commitce6bcdd0043caf267d5d4478d45741aa4ecf1ac9 (patch)
tree236716b8887c9fe1028b781e703492f102d27b16 /app/views/projects/cycle_analytics
parentdf6c9c33b69e411d4f7d27cc46e9769a07d12285 (diff)
downloadgitlab-ce-ce6bcdd0043caf267d5d4478d45741aa4ecf1ac9.tar.gz
Fix minor error in 'CycleAnalytics#show'
- <Not enough data> wasn't being displayed in the 'Issue' and 'Plan' sections.
Diffstat (limited to 'app/views/projects/cycle_analytics')
-rw-r--r--app/views/projects/cycle_analytics/show.html.haml4
1 files 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: