summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/runagain.html
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-05-20 00:34:56 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-29 11:59:45 +0100
commit52fe880f9ec46c41d6afdfb275185768c0bb8db9 (patch)
treef9aa1efb0c17a4b720b17ecb95a5200719215336 /bitbake/lib/toaster/toastergui/templates/runagain.html
parent6fab4cb701cc67db9fd18c30a60fed2483831667 (diff)
downloadpoky-52fe880f9ec46c41d6afdfb275185768c0bb8db9.tar.gz
bitbake: toastergui: Consider task name when restarting a build in /builds
Previously the same issue was fixed for project view. 'Run again' button now restarts builds using target:task also in builds view. [YOCTO #7442] (Bitbake rev: ae6349a13f11b6fa90fe5603b000bef14ee0f2f0) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/runagain.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/runagain.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/runagain.html b/bitbake/lib/toaster/toastergui/templates/runagain.html
new file mode 100644
index 0000000000..a78c0ddc78
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/runagain.html
@@ -0,0 +1,7 @@
1{% load projecttags %}
2onclick='scheduleBuild(
3 {% url 'xhr_projectbuild' buildrequest.project.id as bpi %}{{bpi|json}},
4 {{buildrequest.project.name|json}},
5 {% url 'project' buildrequest.project.id as bpurl %}{{bpurl|json}},
6 {{buildrequest.brtarget_set.all|get_tasks|json}})
7'>Run again