From 0438572c586497781ed039043d487802942c9d77 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 31 Mar 2018 22:14:33 -0500 Subject: [PATCH] Use .round instead of .significant for watch page --- src/views/watch.ecr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/watch.ecr b/src/views/watch.ecr index 010f13a1..8ddbc337 100644 --- a/src/views/watch.ecr +++ b/src/views/watch.ecr @@ -119,9 +119,9 @@ function toggle_comments(target) {

<%= number_with_separator(video.views) %>

<%= number_with_separator(video.likes) %>

<%= number_with_separator(video.dislikes) %>

-

Wilson Score : <%= video.wilson_score.significant(4) %>

-

Rating : <%= rating.significant(4) %> / 5

-

Engagement : <%= engagement.significant(2) %>%

+

Wilson Score : <%= video.wilson_score.round(4) %>

+

Rating : <%= rating.round(4) %> / 5

+

Engagement : <%= engagement.round(2) %>%