@ -39,7 +39,7 @@
</div>
{{ end }}
{{ range .Items }}
<a href="/stage/{{ .ID }}" class="card stage">
<a href="/stage/{{ .Stage.ID }}" class="card stage">
<h2>{{ .Repo.Slug }}</h2>
<img src="{{ .Build.AuthorAvatar }}" />
<span class="connector"></span>
@ -77,7 +77,7 @@ var index = `<!DOCTYPE html>
@ -1,7 +1,6 @@
{
"Items": [
"ID": 1,
"Idle": false,
"Repo": {
"Slug": "octocat/hello-world"
@ -11,6 +10,7 @@
"Number": 42
},
"Stage": {
"Name": "test",
"Status": "running",
"Started": 1563059000,
@ -10,6 +10,7 @@
"Status": "success",