Add 'Show as Playlist' to Channel Page [Try 2]
This commit is contained in:
parent
516efd2df3
commit
4d3a9f9da1
1 changed files with 7 additions and 0 deletions
|
@ -64,6 +64,13 @@
|
||||||
<a href="https://redirect.invidious.io<%= env.request.path %>"><%= translate(locale, "Switch Invidious Instance") %></a>
|
<a href="https://redirect.invidious.io<%= env.request.path %>"><%= translate(locale, "Switch Invidious Instance") %></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="pure-u-1 pure-md-1-3">
|
||||||
|
<% if channel.auto_generated %>
|
||||||
|
<b><%= translate(locale, "View as Playlist") %></b>
|
||||||
|
<% else %>
|
||||||
|
<a href="/playlist?list=<%= ucid %>"><%= translate(locale, "View as Playlist") %></a>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
<% if !channel.auto_generated %>
|
<% if !channel.auto_generated %>
|
||||||
<div class="pure-u-1 pure-md-1-3">
|
<div class="pure-u-1 pure-md-1-3">
|
||||||
<b><%= translate(locale, "Videos") %></b>
|
<b><%= translate(locale, "Videos") %></b>
|
||||||
|
|
Loading…
Add table
Reference in a new issue