comparison app/views/repositories/_dir_list_content.html.erb @ 1116:bb32da3bea34 redmine-2.2-integration

Merge from live
author Chris Cannam
date Mon, 07 Jan 2013 14:41:20 +0000
parents 433d4f72a19b d78b06240b73
children a1bdbf8a87d5
comparison
equal deleted inserted replaced
1115:433d4f72a19b 1116:bb32da3bea34
15 :rev => @rev, 15 :rev => @rev,
16 :depth => (depth + 1), 16 :depth => (depth + 1),
17 :parent_id => tr_id)) %>');">&nbsp;</span> 17 :parent_id => tr_id)) %>');">&nbsp;</span>
18 <% end %> 18 <% end %>
19 <%= link_to h(ent_name), 19 <%= link_to h(ent_name),
20 {:action => (entry.is_dir? ? 'show' : 'changes'), :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(ent_path), :rev => @rev}, 20 {:action => (entry.is_dir? ? 'show' : 'entry'), :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(ent_path), :rev => @rev},
21 :class => (entry.is_dir? ? 'icon icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%> 21 :class => (entry.is_dir? ? 'icon icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%>
22 </td> 22 </td>
23 <td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td> 23 <td class="size"><%= (entry.size ? number_to_human_size(entry.size) : "?") unless entry.is_dir? %></td>
24 <% if @repository.report_last_commit %> 24 <% if @repository.report_last_commit %>
25 <td class="revision"><%= link_to_revision(entry.changeset, @repository) if entry.changeset %></td> 25 <td class="revision"><%= link_to_revision(entry.changeset, @repository) if entry.changeset %></td>