From: Alexandru DAMIAN Date: Mon, 2 Dec 2013 15:32:44 +0000 (+0000) Subject: toasterui: do not link non-image targets X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5839e5b0af45d4c9e05145b16c4ed5817e152606;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toasterui: do not link non-image targets 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 --- diff --git a/lib/toaster/bldviewer/templates/build.html b/lib/toaster/bldviewer/templates/build.html index ab6e19643b5..5f623504d5c 100644 --- a/lib/toaster/bldviewer/templates/build.html +++ b/lib/toaster/bldviewer/templates/build.html @@ -26,7 +26,7 @@ {{build.get_outcome_display}} {{build.started_on}} {{build.completed_on}} - {% for t in build.target_set.all %}{{t.target}}{% if t.is_image %} (Img){% endif %}
{% endfor %} + {% for t in build.target_set.all %}{%if t.is_image %}{% endif %}{{t.target}}{% if t.is_image %}{% endif %}
{% endfor %} {{build.machine}} {% time_difference build.started_on build.completed_on %} {{build.errors_no}}:{% if build.errors_no %}{% for error in logs %}{% if error.build == build %}{% if error.level == 2 %}

{{error.message}}

{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}