2018-07-06 00:48:55 +00:00
|
|
|
<% content_for "header" do %>
|
|
|
|
<title>Subscription manager - Invidious</title>
|
|
|
|
<% end %>
|
|
|
|
|
2018-07-30 17:34:57 +00:00
|
|
|
<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>
|
2018-07-06 00:48:55 +00:00
|
|
|
|
|
|
|
<% subscriptions.each do |channel| %>
|
2018-08-06 00:59:45 +00:00
|
|
|
<div class="h-box">
|
2018-07-06 00:48:55 +00:00
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-2-5">
|
2018-08-06 00:59:45 +00:00
|
|
|
<h3>
|
|
|
|
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
|
|
|
|
</h3>
|
2018-07-06 00:48:55 +00:00
|
|
|
</div>
|
|
|
|
<div class="pure-u-2-5"></div>
|
2018-07-16 19:30:15 +00:00
|
|
|
<div class="pure-u-1-5" style="text-align: right;">
|
2018-08-06 00:59:45 +00:00
|
|
|
<h3>
|
|
|
|
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
|
|
|
|
</h3>
|
2018-07-06 00:48:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-16 19:30:15 +00:00
|
|
|
|
2018-08-06 00:59:45 +00:00
|
|
|
<% if subscriptions[-1].author != channel.author %>
|
|
|
|
<hr>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2018-07-06 00:48:55 +00:00
|
|
|
<% end %>
|