From c29140e74eeefc12100b6a3dd2b522d109e547a3 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 13 Feb 2012 16:13:43 -0500 Subject: [PATCH] Only show up/down voters if present --- .../javascripts/backbone/templates/habits/habit.jst.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/backbone/templates/habits/habit.jst.ejs b/app/assets/javascripts/backbone/templates/habits/habit.jst.ejs index 210c5ef2fa..5824514c6c 100644 --- a/app/assets/javascripts/backbone/templates/habits/habit.jst.ejs +++ b/app/assets/javascripts/backbone/templates/habits/habit.jst.ejs @@ -1,7 +1,7 @@ <% if (habit_type==1) { %> - - + <% if (up) { %> <% } %> + <% if (down) { %> <% } %> <% } else if (habit_type==4) { %>