about summary refs log tree commit diff
path: root/frontend/frontend.go
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/frontend.go')
-rw-r--r--frontend/frontend.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/frontend.go b/frontend/frontend.go
index 9c866aafe4da..ff7ace835bb8 100644
--- a/frontend/frontend.go
+++ b/frontend/frontend.go
@@ -45,7 +45,7 @@ func MakeFrontend(runner *submitqueue.Runner) http.Handler {
 	})
 
 	router.GET("/", func(c *gin.Context) {
-		submitQueue, _, _ := runner.GetState()
+		submitQueue, currentlyRunning, results := runner.GetState()
 
 		funcMap := template.FuncMap{
 			"isAutoSubmittable": func(serie *submitqueue.Serie) bool {
@@ -63,6 +63,8 @@ func MakeFrontend(runner *submitqueue.Runner) http.Handler {
 			"projectName": submitQueue.ProjectName,
 			"branchName":  submitQueue.BranchName,
 			"HEAD":        submitQueue.HEAD,
+			"currentlyRunning": currentlyRunning,
+			"results": results,
 		})
 	})
 	return router