mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
32 lines
No EOL
888 B
Text
32 lines
No EOL
888 B
Text
<% content_for "header" do %>
|
|
<title>Subscription manager - Invidious</title>
|
|
<% end %>
|
|
|
|
<div class="pure-g h-box">
|
|
<div class="pure-u-2-3">
|
|
<h3><%= subscriptions.size %> subscriptions</h3>
|
|
</div>
|
|
<div class="pure-u-1-3" style="text-align:right;">
|
|
<h3>
|
|
<a href="/data_control">Import/Export</a>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
|
|
<% subscriptions.each do |channel| %>
|
|
<h3 class="h-box">
|
|
<div class="pure-g">
|
|
<div class="pure-u-2-5">
|
|
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
|
|
</div>
|
|
<div class="pure-u-2-5"></div>
|
|
<div class="pure-u-1-5" style="text-align: right;">
|
|
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
|
|
</div>
|
|
</div>
|
|
</h3>
|
|
|
|
<% if subscriptions[-1].author != channel.author %>
|
|
<hr>
|
|
<% end %>
|
|
<% end %> |