diff options
-rw-r--r-- | frontend/frontend.go | 4 | ||||
-rw-r--r-- | public/index.tmpl.html (renamed from public/submit-queue.tmpl.html) | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/frontend/frontend.go b/frontend/frontend.go index f0ea46e497c9..3ef691f63b2b 100644 --- a/frontend/frontend.go +++ b/frontend/frontend.go @@ -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, diff --git a/public/submit-queue.tmpl.html b/public/index.tmpl.html index f64cdf24a170..bc145c5b6426 100644 --- a/public/submit-queue.tmpl.html +++ b/public/index.tmpl.html @@ -19,7 +19,7 @@ <a class="nav-link" href="#region-info">Info</a> </li> <li class="nav-item"> - <a class="nav-link" href="#region-queue">Current Queue</a> + <a class="nav-link" href="#region-wipserie">WIP Serie</a> </li> <li class="nav-item"> <a class="nav-link" href="#region-log">Log</a> @@ -49,13 +49,13 @@ <tr> <th scope="row">HEAD:</th> <td> - {{ if .currentlyRunning }}{{ .HEAD }}{{ else }}-{{ end }} + {{ if .HEAD }}{{ .HEAD }}{{ else }}-{{ end }} </td> </tr> </tbody> </table> - <h2 id="region-wipserie">wip Serie</h2> + <h2 id="region-wipserie">WIP Serie</h2> {{ if .wipSerie }} {{ block "serie" .wipSerie }}{{ end }} {{ else }} |