about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-27T12·00+0100
committerFlorian Klink <flokli@flokli.de>2019-11-27T12·00+0100
commitd81ae74999a1f7b5f6ccdbb4c32aed9955634e39 (patch)
tree0ff55d8c46f14a22d06eabaed266dce755e9e8e8
parent69f0963a17facb5eff94fe6e36734cb144ec7dd5 (diff)
frontend: reorder things passed to template
-rw-r--r--frontend/frontend.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/frontend/frontend.go b/frontend/frontend.go
index 6481d4901421..eef246ea380a 100644
--- a/frontend/frontend.go
+++ b/frontend/frontend.go
@@ -76,11 +76,16 @@ func MakeFrontend(runner *submitqueue.Runner) http.Handler {
 		}, funcMap))
 
 		tmpl.ExecuteTemplate(c.Writer, "submit-queue.tmpl.html", gin.H{
-			"series":      submitQueue.Series,
+			// Config
 			"projectName": submitQueue.ProjectName,
 			"branchName":  submitQueue.BranchName,
-			"HEAD":        submitQueue.HEAD,
+
+			// State
 			"currentlyRunning": currentlyRunning,
+			"series":           submitQueue.Series,
+			"HEAD":             submitQueue.HEAD,
+
+			// History
 			"results": results,
 		})
 	})