diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 322: add a link to the scheduler job on the bundle page

Message ID 20120625233017.16999.69956.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson June 25, 2012, 11:30 p.m. UTC
Merge authors:
  Michael Hudson-Doyle (mwhudson)
Related merge proposals:
  https://code.launchpad.net/~mwhudson/lava-dashboard/link-bundle-to-job-bug-920921/+merge/111760
  proposed by: Michael Hudson-Doyle (mwhudson)
------------------------------------------------------------
revno: 322 [merge]
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Tue 2012-06-26 11:29:02 +1200
message:
  add a link to the scheduler job on the bundle page
modified:
  dashboard_app/templates/dashboard_app/bundle_detail.html


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/templates/dashboard_app/bundle_detail.html'
--- dashboard_app/templates/dashboard_app/bundle_detail.html	2011-11-04 03:06:40 +0000
+++ dashboard_app/templates/dashboard_app/bundle_detail.html	2012-06-25 02:17:16 +0000
@@ -25,6 +25,18 @@ 
 {{bundle.uploaded_on}} ({{bundle.uploaded_on|timesince}} ago)</p>
 {% endif %}
 
+{% if bundle.testjob %}
+<h3>Job details</h3>
+<dl>
+  <dt>Job id</dt>
+  <dd><a href="{{ bundle.testjob.get_absolute_url }}">{{ bundle.testjob.id }}</a></dd>
+  <dt>Start time</dt>
+  <dd>{{ bundle.testjob.start_time }}</dd>
+  <dt>End time</dt>
+  <dd>{{ bundle.testjob.end_time }}</dd>
+</dl>
+{% endif %}
+
 <h3>File details</h3>
 <dl>
   <dt>Declared file name:</dt>