frontend: reorder things passed to template
This commit is contained in:
parent
69f0963a17
commit
d81ae74999
1 changed files with 7 additions and 2 deletions
|
@ -76,11 +76,16 @@ func MakeFrontend(runner *submitqueue.Runner) http.Handler {
|
||||||
}, funcMap))
|
}, funcMap))
|
||||||
|
|
||||||
tmpl.ExecuteTemplate(c.Writer, "submit-queue.tmpl.html", gin.H{
|
tmpl.ExecuteTemplate(c.Writer, "submit-queue.tmpl.html", gin.H{
|
||||||
"series": submitQueue.Series,
|
// Config
|
||||||
"projectName": submitQueue.ProjectName,
|
"projectName": submitQueue.ProjectName,
|
||||||
"branchName": submitQueue.BranchName,
|
"branchName": submitQueue.BranchName,
|
||||||
"HEAD": submitQueue.HEAD,
|
|
||||||
|
// State
|
||||||
"currentlyRunning": currentlyRunning,
|
"currentlyRunning": currentlyRunning,
|
||||||
|
"series": submitQueue.Series,
|
||||||
|
"HEAD": submitQueue.HEAD,
|
||||||
|
|
||||||
|
// History
|
||||||
"results": results,
|
"results": results,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue