frontend: reorder things passed to template

This commit is contained in:
Florian Klink 2019-11-27 13:00:50 +01:00
parent 69f0963a17
commit d81ae74999

View file

@ -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,
})
})