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