Sha256: d56251de01128ec176ba18bf6ba3eab6d575a5ee1c17a52bf56da6d91d89657b

Contents?: true

Size: 989 Bytes

Versions: 15

Compression:

Stored size: 989 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.short_path.join('/') %></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? ? node.errors.map {|k,v| "[#{k}] #{v}"}.join(', ') : 'ok' %></td>
        <% end -%>
      </tr>
    <% end -%>
  </table>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/nodes/_import_results.rhtml
zena-1.2.7 app/views/nodes/_import_results.rhtml
zena-1.2.6 app/views/nodes/_import_results.rhtml
zena-1.2.5 app/views/nodes/_import_results.rhtml
zena-1.2.4 app/views/nodes/_import_results.rhtml
zena-1.2.3 app/views/nodes/_import_results.rhtml
zena-1.2.2 app/views/nodes/_import_results.rhtml
zena-1.2.1 app/views/nodes/_import_results.rhtml
zena-1.2.0 app/views/nodes/_import_results.rhtml
zena-1.1.3 app/views/nodes/_import_results.rhtml
zena-1.1.2 app/views/nodes/_import_results.rhtml
zena-1.1.1 app/views/nodes/_import_results.rhtml
zena-1.1.0 app/views/nodes/_import_results.rhtml
zena-1.0.0 app/views/nodes/_import_results.rhtml
zena-1.0.0.rc3 app/views/nodes/_import_results.rhtml