Skip to content

Commit

Permalink
Stylin
Browse files Browse the repository at this point in the history
  • Loading branch information
peat committed Feb 12, 2012
1 parent 328f051 commit 038710f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion server/views/index.erb
Expand Up @@ -118,7 +118,13 @@
<% Treasure.all.each do |t| %>
<tr>
<td><img src="/images/play.jpg" style="height:20px; width:20px;"></td>
<td><%= t.track.slice(0,20) %></td>
<td><%=
if t.track.length > 0
"#{t.track.slice(0,20)}..."
else
t.track
end
%></td>
<td><%= t.artist %></td>
<td><%= t.person %></td>
<td><%= t.origin %></td>
Expand Down

0 comments on commit 038710f

Please sign in to comment.