<% if @previous_commits %>
Previous
<% end %>
<% if @separator %>
|
<% end %>
<% if @next_commits %>
Next
<% end %>
<% @commits.each do |commit| %>
<% url = "/#{@repo.param}/commit/#{commit.id_abbrev}" %>
<%= nicetime(commit.committed_date) %>
<%= truncate(h(commit.short_message), { :length => 140, :separator => ' '}) %>
<%= commit.author.name %> (author)
<% end %>