Sha256: 4d0843bfc0227a12e5d0449989a5a15aa2e90bbb66646331d285a09422e30a58

Contents?: true

Size: 953 Bytes

Versions: 2

Compression:

Stored size: 953 Bytes

Contents

<div class="import">
  <h3><%= _('import result') %></h3>
  <p class="btn_x"><%= link_to_function _('btn_x'), "if (!(opener==undefined || opener.is_editor)) { opener.location.href=opener.location.href;}; self.close();" %></p>

  <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>
        <% 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>
        <td><%= !node.errors.empty? ? error_messages_for(node) : 'ok' %></td>
        <% end -%>
      </tr>
    <% end -%>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zena-0.15.2 app/views/nodes/_import_results.rhtml
zena-0.15.1 app/views/nodes/_import_results.rhtml