Sha256: 9552b0c159c92c7dea3cee795e79e62bfb9ee3360f96c840da54c1706db47c48

Contents?: true

Size: 525 Bytes

Versions: 2

Compression:

Stored size: 525 Bytes

Contents

<li class="job_node">
  <a href="<%= root_path %>hierarchy/jobs/<%= job.jid %>">
    <span title="<%= job.jid %>">
      <%= job.info['class'] %>
    </span>

    (<%= job.info['queue'] %>)

    <span class="label label-<%= bootstrap_status(job.status) %>">
      <%= status_in_words(job) %>
    </span>
  </a>

  <%- children = job.children %>
  <% if children.any? %>
    <ul>
      <% children.each do |child| %>
        <%= erb subtree_template(child), locals: {job: child} %>
      <% end %>
    </ul>
  <% end %>
</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-hierarchy-2.1.0 web/views/_job_tree_node.erb
sidekiq-hierarchy-2.0.1 web/views/_job_tree_node.erb