Sha256: 30bbd1041425317674e73b9fcc34e8145e22bb3422760b73e8847d9fc8fc8c31

Contents?: true

Size: 1.04 KB

Versions: 15

Compression:

Stored size: 1.04 KB

Contents

<% provide :page_title, 'Operations' %>
<% provide :page_header do %>
  <h1><%= @operation.operation_type %> status</h1>
<% end %>

<p><strong>Status:</strong> <span class="badge <%= @operation.status == 'failure' ? 'badge-danger' : 'badge-success' %>"><%= @operation.status %></span></p>
<p><strong>Message:</strong> <span class="message"><%= @operation.message %></span></p>

<% if @operation.children.any? %>
  <div class="row">
    <div class="col-sm-4">
      <table class="table">
        <thead>
          <th>Operation Type</th>
          <th>Status</th>
          <th>Message</th>
        </thead>
        <tbody>
          <% @operation.children.each do |op| %>
            <tr>
              <td><%= link_to op.operation_type, hyrax.user_operation_path(params[:user_id], op) %></td>
              <td><span class="badge <%= op.status == 'failure' ? 'badge-danger' : 'badge-success' %>"><%= op.status %></span></td>
              <td><%= op.message %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </div>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/operations/show.html.erb
hyrax-5.0.4 app/views/hyrax/operations/show.html.erb
hyrax-5.0.3 app/views/hyrax/operations/show.html.erb
hyrax-5.0.2 app/views/hyrax/operations/show.html.erb
hyrax-5.0.1 app/views/hyrax/operations/show.html.erb
hyrax-5.0.0 app/views/hyrax/operations/show.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/operations/show.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/operations/show.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/operations/show.html.erb
hyrax-4.0.0 app/views/hyrax/operations/show.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/operations/show.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/operations/show.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/operations/show.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/operations/show.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/operations/show.html.erb