|
|
|
@ -4,7 +4,9 @@
|
|
|
|
|
|
|
|
|
|
<div class="pure-g h-box">
|
|
|
|
|
<div class="pure-u-1-3">
|
|
|
|
|
<h3><%= translate(locale, "`x` subscriptions", %(<span id="count">#{subscriptions.size}</span>)) %></h3>
|
|
|
|
|
<h3>
|
|
|
|
|
<a href="/feed/subscriptions"><%= translate(locale, "`x` subscriptions", %(<span id="count">#{subscriptions.size}</span>)) %></a>
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pure-u-1-3" style="text-align:center;">
|
|
|
|
|
<h3>
|
|
|
|
@ -20,15 +22,15 @@
|
|
|
|
|
|
|
|
|
|
<% subscriptions.each do |channel| %>
|
|
|
|
|
<div class="h-box">
|
|
|
|
|
<div class="pure-g">
|
|
|
|
|
<div class="pure-g<% if channel.deleted %> deleted <% end%>">
|
|
|
|
|
<div class="pure-u-2-5">
|
|
|
|
|
<h3>
|
|
|
|
|
<h3 style="padding-left: 0.5em">
|
|
|
|
|
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
|
|
|
|
|
</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pure-u-2-5"></div>
|
|
|
|
|
<div class="pure-u-1-5" style="text-align: right;">
|
|
|
|
|
<h3>
|
|
|
|
|
<h3 style="padding-right: 0.5em">
|
|
|
|
|
<a onclick="remove_subscription(this)"
|
|
|
|
|
data-id="<%= channel.id %>"
|
|
|
|
|
onmouseenter='this["href"]="javascript:void(0)"'
|
|
|
|
|