Sha256: 1cdf3a0a9c7352ba24a6ea113aac27d056f1a553f2342ecb7d893bdae50c5b8e

Contents?: true

Size: 1.62 KB

Versions: 28

Compression:

Stored size: 1.62 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.import_request')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th id="edit_icons">ID</th>
    <th><%= t('activerecord.models.user') -%></th>
    <th><%= t('activerecord.attributes.import_request.isbn') -%></th>
    <th><%= t('page.created_at') -%></th>
    <th><%= t('activerecord.attributes.import_request.state') -%></th>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th id="edit_icons"></th>
  </tr>

<%- @import_requests.each do |import_request| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to import_request.id, import_request -%></td>
    <td><%= link_to import_request.user.username, import_request.user if import_request.user -%></td>
    <td><%= import_request.isbn -%></td>
    <td><%=l import_request.created_at -%></td>
    <td><%= localized_state(import_request.state) -%></td>
    <td><%= link_to import_request.manifestation.original_title, import_request.manifestation if import_request.manifestation -%></td>
    <td>
      <%- if can? :delete, import_request -%>
        <%= link_to image_tag('icons/delete.png', :size => '16x16', :alt => t('page.destroy')), import_request, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@import_requests) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.new', :model => t('activerecord.models.import_request')), new_import_request_path -%></li>
  </ul>
</div>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre51 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre50 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre49 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre48 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre47 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre46 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre45 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre44 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre43 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre42 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre41 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre40 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre39 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre38 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre37 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre36 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre35 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre34 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre33 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre32 app/views/import_requests/index.html.erb