Sha256: c5cfe2cd1825c3bbf9b91cddaa8fa0e23efb34b395f96999e15b0eb57d931b58

Contents?: true

Size: 1.02 KB

Versions: 16

Compression:

Stored size: 1.02 KB

Contents

<% provide :page_title, 'Operations' %>
<% provide :page_header do %>
  <h1><%= t('.title') %></h1>
<% end %>

<div class="row">
  <div class="col-sm-6">
    <%= page_entries_info @operations %>
    <table class="table">
      <thead>
        <th><%= t('.operation_type') %></th>
        <th><%= t('.status') %></th>
        <th><%= t('.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

16 entries across 16 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/operations/index.html.erb
hyrax-3.5.0 app/views/hyrax/operations/index.html.erb
hyrax-3.4.2 app/views/hyrax/operations/index.html.erb
hyrax-3.4.1 app/views/hyrax/operations/index.html.erb
hyrax-3.4.0 app/views/hyrax/operations/index.html.erb
hyrax-3.3.0 app/views/hyrax/operations/index.html.erb
hyrax-3.2.0 app/views/hyrax/operations/index.html.erb
hyrax-3.1.0 app/views/hyrax/operations/index.html.erb
hyrax-3.0.2 app/views/hyrax/operations/index.html.erb
hyrax-3.0.1 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.rc2 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.rc1 app/views/hyrax/operations/index.html.erb
hyrax-3.0.0.pre.beta3 app/views/hyrax/operations/index.html.erb