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))
|
||||
|
||||
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,
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue