diff --git a/src/views/error.ecr b/src/views/error.ecr index 8431acb47..74626dcf6 100644 --- a/src/views/error.ecr +++ b/src/views/error.ecr @@ -1 +1,4 @@ +<% content_for "header" do %> +<%= "Error" %> +<% end %> <%= error_message %> \ No newline at end of file diff --git a/src/views/layout.ecr b/src/views/layout.ecr index 26ad27fdd..3c5897068 100644 --- a/src/views/layout.ecr +++ b/src/views/layout.ecr @@ -8,6 +8,8 @@ + +
<%= dislikes.to_i %>
Wilson Score : <%= ci_lower_bound(likes, likes + dislikes).round(4) %>
Rating : <%= rating.round(4) %> / 5
-Engagement : <%= engagement.round(2) %>%
Earnings : <%= video.info.has_key?("allowed_ads") ? "~$" + ((views.to_f / 500).round(2)).to_s : "Unmonetized" %>
Allowed ads :
<%= video.info.has_key?("allowed_ads") ? video.info["allowed_ads"] : "Unmonetized" %>
<%= video.info["title"] %>
<% end %>