frontend: rename main template to index.tmpl.html, fix showing HEAD
Fix some Captions, too.
This commit is contained in:
parent
3125b79f2f
commit
bdfdad2585
2 changed files with 5 additions and 5 deletions
|
@ -71,12 +71,12 @@ func MakeFrontend(rotatingLogHandler *misc.RotatingLogHandler, gerritClient *ger
|
|||
}
|
||||
|
||||
tmpl := template.Must(loadTemplate([]string{
|
||||
"submit-queue.tmpl.html",
|
||||
"index.tmpl.html",
|
||||
"serie.tmpl.html",
|
||||
"changeset.tmpl.html",
|
||||
}, funcMap))
|
||||
|
||||
tmpl.ExecuteTemplate(c.Writer, "submit-queue.tmpl.html", gin.H{
|
||||
tmpl.ExecuteTemplate(c.Writer, "index.tmpl.html", gin.H{
|
||||
// Config
|
||||
"projectName": projectName,
|
||||
"branchName": branchName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue