1 <table class="topalign table table-bordered">
3 <tr class="contain-align-left">
21 <% @provenance.reverse.each do |p| %>
28 <tt><%= j.uuid %></tt>
30 <tt class="deemphasize"><%= j.submit_id %></tt>
32 <%= j.script_version %>
34 <span class="label <%= if j.success then 'label-success'; elsif j.running then 'label-primary'; else 'label-warning'; end %>">
35 <%= j.success || j.running ? 'ok' : 'failed' %>
42 <% if j.started_at and j.finished_at %>
43 <%= raw(distance_of_time_in_words(j.started_at, j.finished_at).sub('about ','~').sub(' ',' ')) %>
44 <% elsif j.started_at and j.running %>
45 <%= raw(distance_of_time_in_words(j.started_at, Time.now).sub('about ','~').sub(' ',' ')) %> (running)
53 <span class="label label-danger">lookup fail</span>
55 <tt class="deemphasize"><%= p[:target] %></tt>