Commit e4c7da0c authored by Neil Williams's avatar Neil Williams
Browse files

LAVA-788 - link to sub_jobs_list from results

Add a section to access the results of the other jobs in the
multinode group.

Change-Id: Iba9412a42d985c8e6ac7a2ca9ed8383e542ea166
parent 8bb41a08
......@@ -31,7 +31,7 @@
{% endif %}
<div class="row">
<div class="col-md-6">
<div class="col-md-4">
<h4 class="modal-header">Exports
</h4>
<dl class="dl-horizontal">
......@@ -45,10 +45,25 @@
title="Download metadata as YAML"><span class="glyphicon glyphicon-download"></span> YAML</a></dd>
</dl>
</div>
<div class="col-md-6">
<div class="col-md-4">
<h4 class="modal-header">Actions</h4>
<a href="#" data-toggle="modal" data-target="#similar_jobs_modal" class="btn btn-primary">Similar jobs</a>
</div>
{% if job.is_multinode %}
<div class="col-md-4">
<h4 class="modal-header">Multinode group</h4>
<dl class="dl-horizontal">
{% for role in job.sub_jobs_list %}
{% if role.id != job.id %}
<dt>{{ role.device_role }} :</dt>
<dd><a href="{{ role.results_link }}">{{ role.sub_id }}</a> ({{ role.id }})</dd>
{% else %}
<dt>{{ role.device_role }} :</dt>
<dd>{{ role.sub_id }} ({{ role.id }})</dd>
{% endif %}
{% endfor %}
</div>
{% endif %}
</div>
{% render_table suite_table %}
<div class="panel-group" id="results_accordion">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment