Project

General

Profile

Feature #3345 ยป 3345.diff

James Wells, 2009-05-12 22:15

View differences:

app/views/repositories/_dir_list_content.rhtml (working copy)
<td class="revision"><%= link_to(format_revision(entry.lastrev.name), :action => 'revision', :id => @project, :rev => entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier %></td>
<td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
<td class="author"><%= changeset.nil? ? h(entry.lastrev.author.to_s.split('<').first) : changeset.author if entry.lastrev %></td>
<td class="comments"><%=h truncate(changeset.comments, 50) unless changeset.nil? %></td>
<td class="comments">
<%=h truncate(changeset.comments, 50) unless changeset.nil? %>
<%= if entry.is_dir?
link_to '(all)',
{:action => 'changes', :id => @project, :path => to_path_param(entry.path), :rev => @rev}
end %>
</td>
</tr>
<% end %>
    (1-1/1)