Sha256: d29bc94f8659eb1f566b0413321fe914743bb62ad8450e63fc274943bad77ee4
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
<div class="my-3 flex"> <h2>Processes</h2> </div> <% if !GoodJob::Process.migrated? %> <div class="card my-3"> <div class="card-body"> <p class="card-text"> <em>Feature unavailable because of pending database migration.</em> </p> </div> </div> <% elsif @processes.present? %> <div class="card my-3"> <div class="table-responsive"> <table class="table card-table table-bordered table-hover table-sm mb-0"> <thead> <tr> <th>Process UUID</th> <th>Created At</th></th> <th>State</th> </tr> </thead> <tbody> <% @processes.each do |process| %> <tr class="<%= dom_class(process) %>" id="<%= dom_id(process) %>"> <td><%= process.id %></td> <td><%= relative_time(process.created_at) %></td> <td><%= tag.pre JSON.pretty_generate(process.state) %></td> </tr> <% end %> </tbody> </table> </div> </div> <% else %> <div class="card my-3"> <div class="card-body"> <p class="card-text"> <em>No GoodJob processes found.</em> </p> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
good_job-2.10.0 | engine/app/views/good_job/processes/index.html.erb |