Permalink
Browse files

Merge branch 'master' of github.com:joemsak/rubycommitters.org

  • Loading branch information...
2 parents 55971cd + a7732e7 commit 83f458571cf6d8ba59a0be093fe25b93555f3bb0 @nicinabox nicinabox committed Jan 5, 2011
Showing with 10 additions and 14 deletions.
  1. +10 −14 app/views/accounts/_account.html.erb
@@ -21,30 +21,26 @@
<p><strong>aka:</strong> <%= account.nicks.collect {|n| n.value }.to_sentence %></p>
<% end %>
</header>
-
- <div class="col">
- <% if full -%>
- <% unless account.books.empty? %>
+ <% if full -%>
+ <% unless account.books.empty? %>
+ <div class="col">
<h3 id="title-books">Books</h3>
<ul>
<%= render :partial => 'book', :collection => account.books %>
</ul>
- <% end %>
+ </div>
<% end -%>
- </div>
-
- <div class="col last">
- <% if full -%>
- <% unless account.sites.empty? %>
+ <% unless account.sites.empty? %>
+ <div class="col last">
<h3 id="title-sites">Sites</h3>
<ul>
<%= render :partial => 'site', :collection => account.sites %>
</ul>
- <% end %>
- <% end -%>
- </div>
+ </div>
+ <% end %>
+ <% end -%>
</article>
-<% if full -%>
+<% if full and account.services.any? -%>
<footer class="my_services">
<ul>
<%= render :partial => 'service', :collection => account.services %>

0 comments on commit 83f4585

Please sign in to comment.