tweaks to user profile layout
This commit is contained in:
@@ -24,22 +24,16 @@
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h2><%= link_to "Subscriptions", posts_path(:tags => "sub:#{user.name}") %></h2>
|
||||
<% presenter.subscriptions.each do |subscription| %>
|
||||
<div class="box">
|
||||
<h3>
|
||||
<%= link_to subscription.pretty_name, posts_path(:tags => "sub:#{user.name}:#{subscription.name}") %>
|
||||
–
|
||||
<%= presenter.tag_links_for_subscription(self, subscription) %>
|
||||
</h3>
|
||||
<% presenter.subscriptions.each do |subscription| %>
|
||||
<div class="box">
|
||||
<h2>
|
||||
Subscription: <%= link_to subscription.pretty_name, posts_path(:tags => "sub:#{user.name}:#{subscription.name}") %>
|
||||
</h2>
|
||||
|
||||
<div class="box">
|
||||
<% presenter.posts_for_subscription(subscription).each do |post| %>
|
||||
<%= PostPresenter.preview(post) %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="box">
|
||||
<% presenter.posts_for_subscription(subscription).each do |post| %>
|
||||
<%= PostPresenter.preview(post) %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user