Patchwork [bitbake-devel,07/11] toasterui: do not link non-image targets

mail settings
Submitter Paul Eggleton
Date Dec. 9, 2013, 7:07 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/63087/
State New
Headers show


Paul Eggleton - Dec. 9, 2013, 7:07 p.m.
From: Alexandru DAMIAN <>

In the Simple UI, builds table, targets that are images
have link to the list of installed packages.

There is no point in having links enabled for the non-image
targets, so we don't link in this case.

    [YOCTO #5366]

Signed-off-by: Alexandru DAMIAN <>
 lib/toaster/bldviewer/templates/build.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/lib/toaster/bldviewer/templates/build.html b/lib/toaster/bldviewer/templates/build.html
index ab6e196..5f62350 100644
--- a/lib/toaster/bldviewer/templates/build.html
+++ b/lib/toaster/bldviewer/templates/build.html
@@ -26,7 +26,7 @@ 
             <td><a href="{% url configuration %}">{{build.get_outcome_display}}</a></td>
-            <td>{% for t in build.target_set.all %}<a href="{% url tpackage %}">{{}}</a>{% if t.is_image %} (Img){% endif %}<br/>{% endfor %}</td>
+            <td>{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url tpackage %}">{% endif %}{{}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td>
             <td>{% time_difference build.started_on build.completed_on %}</td>
             <td>{{build.errors_no}}:{% if  build.errors_no %}{% for error in logs %}{% if == build %}{% if error.level == 2 %}<p>{{error.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td>