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)
19 19
<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>
20 20
<td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
21 21
<td class="author"><%= changeset.nil? ? h(entry.lastrev.author.to_s.split('<').first) : changeset.author if entry.lastrev %></td>
22
<td class="comments"><%=h truncate(changeset.comments, 50) unless changeset.nil? %></td>
22
<td class="comments">
23
   <%=h truncate(changeset.comments, 50) unless changeset.nil? %>
24
   <%= if entry.is_dir? 
25
      link_to '(all)',
26
         {:action => 'changes', :id => @project, :path => to_path_param(entry.path), :rev => @rev}
27
   end %>
28
</td>
23 29
</tr>
24 30
<% end %>
    (1-1/1)