From 37ff2ac2b9531e53bed05d8b4828614558418062 Mon Sep 17 00:00:00 2001 From: syeopite Date: Fri, 26 Mar 2021 20:48:46 -0700 Subject: [PATCH] Overhaul button icon html and styling --- src/invidious/views/components/item.ecr | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index 929ba25f..0e379e8e 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -137,20 +137,22 @@ <% end %>

<%= HTML.escape(item.title) %>

-

+

<%= item.author %> - " href="https://www.youtube.com/watch?v=<%= item.id %>" style="margin-right: 5px;"> - - - " href="/watch?v=<%= item.id %>&listen=1"> - - - " href="/redirect?id=<%= item.id %>&listen=1"> - - -

+ +
<% if item.responds_to?(:premiere_timestamp) && item.premiere_timestamp.try &.> Time.utc %>