From 044c051c4bdc2b05286ebfebda73ff5d21f38091 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 12 Aug 2015 13:25:36 -0300 Subject: [PATCH] Improve dashboard --- views/gamification/dashboard.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/views/gamification/dashboard.html.erb b/views/gamification/dashboard.html.erb index 0f29152..5bf9d12 100644 --- a/views/gamification/dashboard.html.erb +++ b/views/gamification/dashboard.html.erb @@ -20,7 +20,7 @@ <% unless @target.score_points.empty? %>
-

<%= _('Last Score Points') %>

+

<%= _('Latest Score Points') %>

<% @target.score_points.order('created_at desc').limit(5).each do |point| %>
<%= point.num_points %> @@ -56,7 +56,8 @@ $('.gamification .badge-list').slick({ infinite: false, speed: 300, slidesToShow: 3, - slidesToScroll: 1, + slidesToScroll: 2, + rows: 2, }); $(".gamification-dashboard .timeago").timeago(); -- libgit2 0.21.2