aboutsummaryrefslogtreecommitdiff
path: root/dashboard_app
diff options
context:
space:
mode:
authorFu Wei <fu.wei@linaro.org>2013-08-14 19:32:27 +0800
committerFu Wei <fu.wei@linaro.org>2013-08-14 19:32:27 +0800
commit3cb5333f98d3dbbd2234023247732c8c7f354a9e (patch)
treef3e4ce222c032f70dedb31c7d292b65195ccdfa1 /dashboard_app
parent44bf8fa9777f81f1fe710c47d72634b8df2e8c2e (diff)
Add "Device" row in bundle "Test Runs"
Diffstat (limited to 'dashboard_app')
-rw-r--r--dashboard_app/templates/dashboard_app/_test_run_list_table.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/dashboard_app/templates/dashboard_app/_test_run_list_table.html b/dashboard_app/templates/dashboard_app/_test_run_list_table.html
index 97430d0c8..86f9b9e77 100644
--- a/dashboard_app/templates/dashboard_app/_test_run_list_table.html
+++ b/dashboard_app/templates/dashboard_app/_test_run_list_table.html
@@ -2,6 +2,7 @@
<table class="demo_jui display" id="test_runs">
<thead>
<tr>
+ <th>{% trans "Device" %}</th>
<th>{% trans "Test Run" %}</th>
<th>{% trans "Test" %}</th>
<th>{% trans "Passes" %}</th>
@@ -13,6 +14,11 @@
<tbody>
{% for test_run in test_run_list %}
<tr>
+ {% for attribute in test_run.attributes.all %}
+ {% if attribute.name == "target" %}
+ <td>{{ attribute.value }}</td>
+ {% endif %}
+ {% endfor %}
<td><a href="{{ test_run.get_absolute_url }}"><code>{{ test_run.test }} results<code/></a></td>
<td>{{ test_run.test }}</td>
<td>{{ test_run.get_summary_results.pass }}</td>