Sha256: d2a5e09ead2a2bc556c1e2f6c3b59fae64e8b855c7fad68374f2806d8b07a149
Contents?: true
Size: 1.04 KB
Versions: 31
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="label <%= @operation.status == 'failure' ? 'label-danger' : 'label-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, sufia.user_operation_path(params[:user_id], op) %></td> <td><span class="label <%= op.status == 'failure' ? 'label-danger' : 'label-success' %>"><%= op.status %></span></td> <td><%= op.message %></td> </tr> <% end %> </tbody> </table> </div> </div> <% end %>
Version data entries
31 entries across 31 versions & 1 rubygems