|
|
|
@ -31,9 +31,13 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<p dir="auto"><%= HTML.escape(item.title) %></p>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<% if !item.ucid.to_s.empty? %>
|
|
|
|
|
<a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<p dir="auto"><b><%= HTML.escape(item.author) %><% if !item.is_a?(InvidiousPlaylist) && !item.author_verified.nil? && item.author_verified %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></b></p>
|
|
|
|
|
</a>
|
|
|
|
|
<% else %>
|
|
|
|
|
<p dir="auto"><b><%= HTML.escape(item.author) %><% if !item.is_a?(InvidiousPlaylist) && !item.author_verified.nil? && item.author_verified %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></b></p>
|
|
|
|
|
</a>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% when MixVideo %>
|
|
|
|
|
<a href="/watch?v=<%= item.id %>&list=<%= item.rdid %>">
|
|
|
|
|
<% if !env.get("preferences").as(Preferences).thin_mode %>
|
|
|
|
@ -51,9 +55,13 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<p dir="auto"><%= HTML.escape(item.title) %></p>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<% if !item.ucid.to_s.empty? %>
|
|
|
|
|
<a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<p dir="auto"><b><%= HTML.escape(item.author) %></b></p>
|
|
|
|
|
</a>
|
|
|
|
|
<% else %>
|
|
|
|
|
<p dir="auto"><b><%= HTML.escape(item.author) %></b></p>
|
|
|
|
|
</a>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% when PlaylistVideo %>
|
|
|
|
|
<a style="width:100%" href="/watch?v=<%= item.id %>&list=<%= item.plid %>&index=<%= item.index %>">
|
|
|
|
|
<% if !env.get("preferences").as(Preferences).thin_mode %>
|
|
|
|
@ -85,9 +93,15 @@
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="video-card-row flexible">
|
|
|
|
|
<div class="flex-left"><a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<p class="channel-name" dir="auto"><%= HTML.escape(item.author) %></p>
|
|
|
|
|
</a></div>
|
|
|
|
|
<div class="flex-left">
|
|
|
|
|
<% if !item.ucid.to_s.empty? %>
|
|
|
|
|
<a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<p class="channel-name" dir="auto"><%= HTML.escape(item.author) %></p>
|
|
|
|
|
</a>
|
|
|
|
|
<% else %>
|
|
|
|
|
<p class="channel-name" dir="auto"><%= HTML.escape(item.author) %></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% endpoint_params = "?v=#{item.id}&list=#{item.plid}" %>
|
|
|
|
|
<%= rendered "components/video-context-buttons" %>
|
|
|
|
|
</div>
|
|
|
|
@ -147,9 +161,15 @@
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="video-card-row flexible">
|
|
|
|
|
<div class="flex-left"><a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<p class="channel-name" dir="auto"><%= HTML.escape(item.author) %><% if !item.is_a?(ChannelVideo) && !item.author_verified.nil? && item.author_verified %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></p>
|
|
|
|
|
</a></div>
|
|
|
|
|
<div class="flex-left">
|
|
|
|
|
<% if !item.ucid.to_s.empty? %>
|
|
|
|
|
<a href="/channel/<%= item.ucid %>">
|
|
|
|
|
<p class="channel-name" dir="auto"><%= HTML.escape(item.author) %><% if !item.is_a?(ChannelVideo) && !item.author_verified.nil? && item.author_verified %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></p>
|
|
|
|
|
</a>
|
|
|
|
|
<% else %>
|
|
|
|
|
<p class="channel-name" dir="auto"><%= HTML.escape(item.author) %><% if !item.is_a?(ChannelVideo) && !item.author_verified.nil? && item.author_verified %> <i class="icon ion ion-md-checkmark-circle"></i><% end %></p>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<% endpoint_params = "?v=#{item.id}" %>
|
|
|
|
|
<%= rendered "components/video-context-buttons" %>
|
|
|
|
|