Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: cb84eec2ee
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (55 sloc) 1.543 kb
<li class="profile" id="<%= account.username %>">
<section>
<div class="portrait">
<% unless account.portraits.empty? %>
<% account.portraits.each do |portrait| %>
<%= image_tag portrait.url %>
<% end %>
<% end %>
</div>
<% unless account.names.empty? %>
<ul class="names">
<% account.names.each do |name| %>
<li><%= name.value %></li>
<% end %>
</ul>
<% end %>
<% unless account.nicks.empty? %>
<h1>Nicknames</h1>
<ul class="nicknames">
<% account.nicks.each do |nick| %>
<li><%= nick.value %></li>
<% end %>
</ul>
<% end %>
<h1>Account</h1>
<p class="account"><%= account.username %></p>
<% unless account.sites.empty? %>
<h1>Sites</h1>
<ul class="sites">
<% account.sites.each do |site| %>
<li><%= link_to site.title, site.url %></li>
<% end %>
</ul>
<% end %>
<% unless account.services.empty? %>
<h1>Services</h1>
<ul class="services">
<% account.services.each do |service| %>
<li><%= link_to_service service.name, service %></li>
<% end %>
</ul>
<% end %>
<!-- FIXME: unsure how to link to ISBN. :-( -->
<!--
<% unless account.books.empty? %>
<h1>Books</h1>
<ul class="books">
<% account.books.each do |book| %>
<li><%= book.key %></li>
<% end %>
</ul>
<% end %>
-->
</section>
</li>
Jump to Line
Something went wrong with that request. Please try again.