Sha256: 41eaafd35082bd5779016f3871705d670fa592155bd367a28e30c5b7f3fdf53e

Contents?: true

Size: 1.98 KB

Versions: 15

Compression:

Stored size: 1.98 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.listing', model: t('activerecord.models.event_import_result')) -%></h1>
<div id="content_list">
  <% if @event_import_file %>
    <h2 class="event_title">
      <%= link_to @event_import_file.event_import_file_name, @event_import_file %>
    </h2>
  <% end %>

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.event_import_file') %></th>
    <th><%= t('activerecord.models.event') %></th>
    <th></th>
  </tr>

<% @event_import_results.each do |event_import_result| %>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to event_import_result.event_import_file.event_import_file_name, event_import_result.event_import_file %>
      <br />
      <%=l event_import_result.created_at %>
    </td>
    <td><%= link_to event_import_result.event.display_name.localize, event_import_result.event if event_import_result.event %></td>
    <td>
      <%= link_to t('page.show'), event_import_result %>
      <%= link_to t('page.destroy'), event_import_result, data: {confirm: t('page.are_you_sure')}, method: :delete %>
    </td>
  </tr>
<% end %>
</table>

<%= paginate(@event_import_results) %>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li>
    <% if @event_import_file %>
      <%= link_to (image_tag 'icons/page_white_excel.png', size: '16x16', alt: 'TSV', class: 'icon'), event_import_results_path(event_import_file_id: @event_import_file.id, format: :txt, locale: @locale.to_s) -%>
      (<%= link_to 'TSV', event_import_results_path(event_import_file_id: @event_import_file.id, format: :txt, locale: @locale.to_s) -%>)
    <% else %>
      <%= link_to (image_tag 'icons/page_white_excel.png', size: '16x16', alt: 'TSV', class: 'icon'), event_import_results_path(format: :txt, locale: @locale.to_s) -%>
      (<%= link_to 'TSV', event_import_results_path(format: :txt, locale: @locale.to_s) -%>)
    <% end %>
    </li>
  </ul>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enju_event-0.2.0.beta.3 app/views/event_import_results/index.html.erb
enju_event-0.2.0.beta.2 app/views/event_import_results/index.html.erb
enju_event-0.2.0.beta.1 app/views/event_import_results/index.html.erb
enju_event-0.1.19 app/views/event_import_results/index.html.erb
enju_event-0.1.18 app/views/event_import_results/index.html.erb
enju_event-0.1.17 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre27 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre26 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre25 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre24 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre23 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre22 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre21 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre20 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre19 app/views/event_import_results/index.html.erb