From d6d73bd33630add1ff0d114fd468685ce88c3795 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Tue, 20 Nov 2018 22:58:30 -0600 Subject: [PATCH] Fix clickable titles in subscription feed --- src/invidious/views/components/item.ecr | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index 5940ae8a..b38e7a5d 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -69,9 +69,9 @@
Shared <%= recode_date(item.published) %> ago
<% end %> <% else %> + <% if env.get?("user") && env.get("user").as(User).preferences.thin_mode %> + <% else %> - <% if env.get?("user") && env.get("user").as(User).preferences.thin_mode %> - <% else %>
<% if env.get? "show_watched" %> @@ -79,21 +79,19 @@ + href="/mark_watched?id=<%= item.id %>"> + class="icon ion-ios-eye">

<% end %>

<%= recode_length_seconds(item.length_seconds) %>

- <% end %> -

<%= item.title %>

+ <% end %> +

<%= item.title %>

<% if item.responds_to?(:live_now) && item.live_now %>

LIVE

<% end %>