From: Belen Barros Pena Date: Mon, 19 Sep 2016 02:33:13 +0000 (-0700) Subject: toaster: Fix links to tasks with specific outcome X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a75e70bbc9081f77f1e4aeeee8222b06112e4406;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: Fix links to tasks with specific outcome The build dashboard provides a count of tasks that were executed and not executed, and of tasks that failed (if any). The number is a link to the list of tasks. Fix the links so that they filter the tasks table by the selected criteria (executed, not executed or failed). [YOCTO #9832] Signed-off-by: Belen Barros Pena Signed-off-by: bavery Signed-off-by: Richard Purdie --- diff --git a/lib/toaster/toastergui/templates/builddashboard.html b/lib/toaster/toastergui/templates/builddashboard.html index 9e6e1c172b1..1c390cd6034 100644 --- a/lib/toaster/toastergui/templates/builddashboard.html +++ b/lib/toaster/toastergui/templates/builddashboard.html @@ -235,7 +235,7 @@ {% elif exectask.count > 1%} - {{exectask.count}} + {{exectask.count}} {% endif %} {% endif %} @@ -244,12 +244,12 @@ Tasks executed -
{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}
+
{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}
Tasks not executed
-
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
+
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
Reuse