General cleanup to user preferences

This commit is contained in:
Omar Roth
2018-08-05 19:59:45 -05:00
parent 5a6b36ecce
commit f9b45dd7b8
3 changed files with 18 additions and 14 deletions

View File

@@ -14,19 +14,23 @@
</div>
<% subscriptions.each do |channel| %>
<h3 class="h-box">
<div class="h-box">
<div class="pure-g">
<div class="pure-u-2-5">
<a href="/channel/<%= channel.id %>"><%= channel.author %></a>
<h3>
<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;">
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
<h3>
<a href="/subscription_ajax?action_remove_subscriptions=1&c=<%= channel.id %>">unsubscribe</a>
</h3>
</div>
</div>
</h3>
<% if subscriptions[-1].author != channel.author %>
<hr>
<% end %>
<% if subscriptions[-1].author != channel.author %>
<hr>
<% end %>
</div>
<% end %>