Sha256: 8ac3ccf86feb9771a7c79fda178187e4e64911c587c7ccbba079a672cd5648b7

Contents?: true

Size: 1.92 KB

Versions: 23

Compression:

Stored size: 1.92 KB

Contents

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

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

<% @agent_import_results.each do |agent_import_result| %>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= link_to agent_import_result.agent_import_file.agent_import_file_name, agent_import_result.agent_import_file %>
      <br />
      <%=l agent_import_result.created_at %>
    </td>
    <td><%= link_to agent_import_result.agent.full_name, agent_import_result.agent if agent_import_result.agent %></td>
    <td>
      <%= link_to t('page.show'), agent_import_result %>
      <%= link_to t('page.destroy'), agent_import_result, data: {confirm: t('page.are_you_sure')}, method: :delete %>
    </td>
  </tr>
<% end %>
</table>

<%= paginate(@agent_import_results) %>

</div>
</div>

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.3 app/views/agent_import_results/index.html.erb
enju_biblio-0.2.0.beta.2 app/views/agent_import_results/index.html.erb
enju_biblio-0.2.0.beta.1 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.3 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.2 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.1 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre71 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre70 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre69 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre68 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre67 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre66 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre65 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre64 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre63 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre62 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre61 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre60 app/views/agent_import_results/index.html.erb
enju_biblio-0.1.0.pre59 app/views/agent_import_results/index.html.erb