2018-08-15 15:22:36 +00:00
|
|
|
<% content_for "header" do %>
|
|
|
|
<title><%= playlist.title %> - Invidious</title>
|
2019-03-07 07:26:30 +00:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feed/playlist/<%= plid %>" />
|
2018-08-15 15:22:36 +00:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="pure-g h-box">
|
|
|
|
<div class="pure-u-2-3">
|
|
|
|
<h3><%= playlist.title %></h3>
|
|
|
|
</div>
|
2019-05-02 01:03:39 +00:00
|
|
|
<div class="pure-u-1-3" style="text-align:right">
|
2018-09-17 23:13:24 +00:00
|
|
|
<h3>
|
|
|
|
<a href="/feed/playlist/<%= plid %>"><i class="icon ion-logo-rss"></i></a>
|
|
|
|
</h3>
|
|
|
|
</div>
|
2018-08-15 15:22:36 +00:00
|
|
|
</div>
|
2019-05-02 01:03:39 +00:00
|
|
|
|
2018-08-15 15:22:36 +00:00
|
|
|
<div class="pure-g h-box">
|
|
|
|
<div class="pure-u-1 pure-u-md-1-4">
|
|
|
|
<a href="/channel/<%= playlist.ucid %>">
|
|
|
|
<b><%= playlist.author %></b>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="h-box">
|
2018-09-14 02:00:39 +00:00
|
|
|
<p><%= playlist.description_html %></p>
|
2018-08-15 15:22:36 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-g">
|
2019-05-02 01:03:39 +00:00
|
|
|
<% videos.each_slice(4) do |slice| %>
|
|
|
|
<% slice.each do |item| %>
|
|
|
|
<%= rendered "components/item" %>
|
|
|
|
<% end %>
|
2018-08-15 15:22:36 +00:00
|
|
|
<% end %>
|
2019-03-23 19:05:13 +00:00
|
|
|
</div>
|
2018-08-15 15:22:36 +00:00
|
|
|
|
|
|
|
<div class="pure-g h-box">
|
2019-04-14 22:04:52 +00:00
|
|
|
<div class="pure-u-1 pure-u-lg-1-5">
|
2019-05-02 01:03:39 +00:00
|
|
|
<% if page >= 2 %>
|
|
|
|
<a href="/playlist?list=<%= playlist.id %>&page=<%= page - 1 %>">
|
|
|
|
<%= translate(locale, "Previous page") %>
|
|
|
|
</a>
|
|
|
|
<% end %>
|
2018-08-15 15:22:36 +00:00
|
|
|
</div>
|
2019-04-14 22:04:52 +00:00
|
|
|
<div class="pure-u-1 pure-u-lg-3-5"></div>
|
2019-05-02 01:03:39 +00:00
|
|
|
<div class="pure-u-1 pure-u-lg-1-5" style="text-align:right">
|
|
|
|
<% if videos.size == 100 %>
|
|
|
|
<a href="/playlist?list=<%= playlist.id %>&page=<%= page + 1 %>">
|
|
|
|
<%= translate(locale, "Next page") %>
|
|
|
|
</a>
|
|
|
|
<% end %>
|
2018-08-15 15:22:36 +00:00
|
|
|
</div>
|
2018-08-17 16:04:38 +00:00
|
|
|
</div>
|