Sha256: ea3d1cbd741220b27747f001afda17c1464972385e91f714568364e38a804244

Contents?: true

Size: 1.96 KB

Versions: 19

Compression:

Stored size: 1.96 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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">
  <ul>
    <li>
    <% if @event_import_file %>
      <%= link_to (image_tag 'icons/page_white_excel.png', :size => '16x16', :alt => 'CSV', :class => 'icon'), event_import_file_event_import_results_path(@event_import_file, :format => :csv, :locale => @locale.to_s) -%>
      (<%= link_to 'CSV', event_import_file_event_import_results_path(:format => :csv, :locale => @locale.to_s) -%>)
    <% else %>
      <%= link_to (image_tag 'icons/page_white_excel.png', :size => '16x16', :alt => 'CSV', :class => 'icon'), event_import_results_path(:format => :csv, :locale => @locale.to_s) -%>
      (<%= link_to 'CSV', event_import_results_path(:format => :csv, :locale => @locale.to_s) -%>)
    <% end %>
    </li>
  </ul>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre17 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre16 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre15 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre14 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre13 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre12 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre11 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre10 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre9 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre8 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre7 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre6 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre5 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre4 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre3 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre2 app/views/event_import_results/index.html.erb
enju_event-0.1.17.pre app/views/event_import_results/index.html.erb
enju_event-0.1.16 app/views/event_import_results/index.html.erb
enju_event-0.1.15 app/views/event_import_results/index.html.erb