<%= form_tag( {:controller => 'repositories', :action => 'diff', :id => project, :repository_id => @repository.identifier_param, :path => to_path_param(path)}, :method => :get ) do %> <% show_diff = revisions.size > 1 %> <% line_num = 1 %> <% revisions.each do |changeset| %> <% line_num += 1 %> <% end %>
<%= h truncate(changeset.id.to_s, :length => 20) %> <%= format_time(changeset.created_at) %> <%= h truncate(changeset.author_name.to_s, :length => 30) %> <%= textilizable(truncate_at_line_break(changeset.message)) %>

<%#= submit_tag(l(:label_view_diff), :name => nil, :class=>"c_blue") if show_diff %>

<% end %>