Sha256: c4d2be0c7b40a249804c8441c2a5f5a89882ed99d79b964fc821fcf3e27da089

Contents?: true

Size: 999 Bytes

Versions: 56

Compression:

Stored size: 999 Bytes

Contents

<% provide :page_title, 'Operations' %>
<% provide :page_header do %>
  <h1>Operations</h1>
<% end %>

<div class="row">
  <div class="col-sm-6">
    <%= page_entries_info @operations %>
    <table class="table">
      <thead>
        <th>Operation Type</th>
        <th>Status</th>
        <th>Updated</th>
      </thead>
      <tbody>
        <% @operations.each do |op| %>
          <tr>
            <td><%= link_to op.operation_type, hyrax.user_operation_path(params[:user_id], op) %></td>
            <td><span class="label <%= op.status == 'failure' ? 'label-danger' : 'label-success' %>"><%= op.status %></span></td>
            <td>
              <relative-time datetime="<%= op.updated_at.getutc.iso8601 %>" title="<%= op.updated_at.to_formatted_s(:standard) %>">
                <%= op.updated_at.to_formatted_s(:long_ordinal) %>
              </relative-time>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
    <%= paginate @operations %>
  </div>
</div>

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/operations/index.html.erb
hyrax-2.9.5 app/views/hyrax/operations/index.html.erb
hyrax-2.9.4 app/views/hyrax/operations/index.html.erb
hyrax-2.9.3 app/views/hyrax/operations/index.html.erb
hyrax-2.9.2 app/views/hyrax/operations/index.html.erb
hyrax-2.9.1 app/views/hyrax/operations/index.html.erb
hyrax-2.9.0 app/views/hyrax/operations/index.html.erb
hyrax-2.8.0 app/views/hyrax/operations/index.html.erb
hyrax-2.7.2 app/views/hyrax/operations/index.html.erb
hyrax-2.7.1 app/views/hyrax/operations/index.html.erb
hyrax-2.7.0 app/views/hyrax/operations/index.html.erb
hyrax-2.6.0 app/views/hyrax/operations/index.html.erb
hyrax-2.5.1 app/views/hyrax/operations/index.html.erb
hyrax-2.5.0 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/operations/index.html.erb
hyrax-2.4.1 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/operations/index.html.erb
hyrax-2.4.0 app/views/hyrax/operations/index.html.erb
hyrax-2.3.3 app/views/hyrax/operations/index.html.erb
hyrax-2.3.2 app/views/hyrax/operations/index.html.erb