diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-27T12·00+0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-27T12·00+0100 |
commit | d81ae74999a1f7b5f6ccdbb4c32aed9955634e39 (patch) | |
tree | 0ff55d8c46f14a22d06eabaed266dce755e9e8e8 /frontend/frontend.go | |
parent | 69f0963a17facb5eff94fe6e36734cb144ec7dd5 (diff) |
frontend: reorder things passed to template
Diffstat (limited to 'frontend/frontend.go')
-rw-r--r-- | frontend/frontend.go | 9 |
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, }) }) |