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