app/views/nodes/_import_results.rhtml in zena-1.0.0.beta3 vs app/views/nodes/_import_results.rhtml in zena-1.0.0.rc1
- old
+ new
@@ -4,10 +4,10 @@
<table cellspacing="0" borderspacing="0">
<% @nodes.each do |node| -%>
<tr class='import_<%= node.errors.empty? ? (node[:create_or_update]) : 'error' %>'>
<td><%= img_tag(node, :mode=>'tiny') %></td>
- <td><%= node.rootpath %></td>
+ <td><%= node.short_path %></td>
<% if node[:create_or_update] == 'same' && node.errors.empty? -%>
<td colspan='3'><%= _('same') %></td>
<% else -%>
<td><%= node.errors.empty? ? (node[:create_or_update]) : 'error' %></td>
<td><%= _('%{count} versions') % {:count => node.instance_variable_get(:@versions_count)} %></td>
\ No newline at end of file