include source on Jobs CP

test plan:
 * configure marginalia.yml
 * queue a job (`Kernel.send_later(:sleep, 1)` in console is fine)
 * go to /jobs and select your job
 * it should show a Source in the details, with your hostname
   and a pid

Change-Id: Ifb69ea0891bbe5c99a912f6c80796987389e8116
Reviewed-on: https://gerrit.instructure.com/108909
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2017-04-18 08:20:19 -06:00
parent c5a0eb5c69
commit fee6168ebc
1 changed files with 6 additions and 0 deletions

View File

@ -143,6 +143,12 @@
<td><%= before_label :locked_at, "Locked At" %></td>
<td id="job-locked_at" class="show-field">&nbsp;</td>
</tr>
<% if defined?(Marginalia) %>
<tr>
<td><%= before_label :source, "Source" %></td>
<td id="job-source" class="show-field">&nbsp;</td>
</tr>
<% end %>
<tr>
<td><%= before_label :failed_at, "Failed At" %></td>
<td id="job-failed_at" class="show-field">&nbsp;</td>