Sha256: 0847088e9921cf80f14b7c233866bc2f2e8ff62ff89d5cebbab3bd0f48f6112f

Contents?: true

Size: 1.63 KB

Versions: 19

Compression:

Stored size: 1.63 KB

Contents

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

<table class="table table-striped index">
  <tr>
    <th>Id</th>
    <th>
      <%= t('activerecord.models.user') -%><br />
      <%= t('activerecord.attributes.import_request.isbn') -%><br />
      <%= t('page.created_at') -%>
    </th>
    <th><%= t('activerecord.attributes.import_request.state') -%></th>
    <th><%= t('activerecord.models.manifestation') -%></th>
    <th></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.profile if import_request.user.try(:profile) -%><br />
      <%= import_request.isbn -%><br />
      <%=l import_request.created_at -%>
    </td>
    <td><%= localized_state(import_request.current_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 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 ui-widget-content">
  <ul>
    <li><%= link_to t('page.new', model: t('activerecord.models.import_request')), new_import_request_path -%></li>
  </ul>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_biblio-0.1.3 app/views/import_requests/index.html.erb
enju_biblio-0.1.2 app/views/import_requests/index.html.erb
enju_biblio-0.1.1 app/views/import_requests/index.html.erb
enju_biblio-0.1.0 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre71 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre70 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre69 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre68 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre67 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre66 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre65 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre64 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre63 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre62 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre61 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre60 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre59 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre58 app/views/import_requests/index.html.erb
enju_biblio-0.1.0.pre57 app/views/import_requests/index.html.erb