diff --git a/src/cookie_fix.cr b/src/cookie_fix.cr index 536d5887..1c0345e0 100644 --- a/src/cookie_fix.cr +++ b/src/cookie_fix.cr @@ -1,3 +1,4 @@ +# See https://github.com/crystal-lang/crystal/pull/5408 module HTTP class Cookie module Parser diff --git a/src/views/index.ecr b/src/views/index.ecr index 9338bbcc..9bdff0cc 100644 --- a/src/views/index.ecr +++ b/src/views/index.ecr @@ -12,7 +12,9 @@ "/>
<%= video.title %>
- ++ "><%= video.info["author"] %> +
<% end %> diff --git a/src/views/login.ecr b/src/views/login.ecr index c19a91a4..01ee348e 100644 --- a/src/views/login.ecr +++ b/src/views/login.ecr @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/src/views/search.ecr b/src/views/search.ecr index 0d6b12bc..56ca976d 100644 --- a/src/views/search.ecr +++ b/src/views/search.ecr @@ -4,14 +4,16 @@ <% videos.each_slice(4) do |slice| %><%= number_with_separator(video.views) %>
-<%= number_with_separator(video.likes) %>
-<%= number_with_separator(video.dislikes) %>
-Wilson Score : <%= video.wilson_score.round(4) %>
-Rating : <%= rating.round(4) %> / 5
-Engagement : <%= engagement.round(2) %>%
-<%= number_with_separator(video.views) %>
+<%= number_with_separator(video.likes) %>
+<%= number_with_separator(video.dislikes) %>
+Wilson Score : <%= video.wilson_score.round(4) %>
+Rating : <%= rating.round(4) %> / 5
+Engagement : <%= engagement.round(2) %>%
+
- ">
- <%= video.info["author"] %>
-
-
- Shared <%= video.published.to_s("%B %-d, %Y") %> -
+
+ ">
+ <%= video.info["author"] %>
+
+
+ Shared <%= video.published.to_s("%B %-d, %Y") %> +
<%= rv["title"] %>
-<%= rv["author"] %>
- + <% rvs.each do |rv| %> + <% if rv.has_key?("id") %> + "> + "> +<%= rv["title"] %>
++ <%= rv["author"] %> +
+ + <% end %> <% end %> - <% end %> +