Sha256: 93a0d5054b5a5159d167c6c1a9f077847011625b9f3e38c4756fec25c767b61c

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

<h2><%= l(:label_import_issues) %></h2>

<% if @import.saved_items.count > 0 %>
  <p><%= l(:notice_import_finished, :count => @import.saved_items.count) %>:</p>

  <ul id="saved-items">
  <% @import.saved_objects.each do |issue| %>
    <li><%= link_to_issue issue %></li>
  <% end %>
  </ul>

  <p><%= link_to l(:label_issue_view_all), issues_path(:set_filter => 1, :status_id => '*', :issue_id => @import.saved_objects.map(&:id).join(',')) %></p>
<% end %>

<% if @import.unsaved_items.count > 0 %>
  <p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %>:</p>

  <table id="unsaved-items" class="list">
    <thead>
    <tr>
      <th>Position</th>
      <th>Message</th>
    </tr>
    </thead>
    <tbody>
    <% @import.unsaved_items.each do |item| %>
    <tr>
      <td><%= item.position %></td>
      <td><%= simple_format_without_paragraph item.message %></td>
    </tr>
    <% end %>
    </tbody>
  </table>
<% end %>

<% content_for :sidebar do %>
    <%= render :partial => 'issues/sidebar' %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine_extensions-0.1.15 spec/redmine/app/views/imports/show.html.erb