diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index 7cfd38db..693cef48 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -31,9 +31,13 @@ <% end %>
<%= HTML.escape(item.title) %>
- + <% if !item.ucid.to_s.empty? %> + +<%= HTML.escape(item.author) %><% if !item.is_a?(InvidiousPlaylist) && !item.author_verified.nil? && item.author_verified %> <% end %>
+ + <% else %><%= HTML.escape(item.author) %><% if !item.is_a?(InvidiousPlaylist) && !item.author_verified.nil? && item.author_verified %> <% end %>
- + <% end %> <% when MixVideo %> <% if !env.get("preferences").as(Preferences).thin_mode %> @@ -51,9 +55,13 @@ <% end %><%= HTML.escape(item.title) %>
- + <% if !item.ucid.to_s.empty? %> + +<%= HTML.escape(item.author) %>
+ + <% else %><%= HTML.escape(item.author) %>
- + <% end %> <% when PlaylistVideo %> <% if !env.get("preferences").as(Preferences).thin_mode %> @@ -85,9 +93,15 @@<%= HTML.escape(item.author) %>
+ + <% else %> +<%= HTML.escape(item.author) %>
+ <% end %> +<%= HTML.escape(item.author) %><% if !item.is_a?(ChannelVideo) && !item.author_verified.nil? && item.author_verified %> <% end %>
+ + <% else %> +<%= HTML.escape(item.author) %><% if !item.is_a?(ChannelVideo) && !item.author_verified.nil? && item.author_verified %> <% end %>
+ <% end %> +