From 5784405871ff9a0c34d911eac5280fed34f514e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Darko=20Kri=C5=BEi=C4=87?= Date: Sat, 2 Mar 2024 22:09:51 +0100 Subject: [PATCH] Add links to pull requests and commits --- template/default.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/default.tpl b/template/default.tpl index b5a07b6..aabfa54 100644 --- a/template/default.tpl +++ b/template/default.tpl @@ -4,7 +4,7 @@ Component Status overview. Last update {{.LastUpdated}} | Repository | Commits | PRs | Latest Release | {{ range .EnvironmentDescriptions }} [{{.Name}}]({{.Link}}) | {{end}} | --- | --- | --- | -- | {{ range .EnvironmentDescriptions }} --- | {{end}} -{{range .Repositories}}| [{{.Name}}]({{.Link}}) | {{if .Commits.Count}}:red_square:{{else}}:green_square:{{end}} {{.Commits.Count}} | {{if .PullRequests.Count}}:yellow_square:{{else}}:green_square:{{end}} {{.PullRequests.Count}} | {{.LatestRelease.Tag}} | {{range .Environments}} {{if .IsCurrent}}:green_square:{{else}}:red_square:{{end}} {{.Version}} | {{end}} +{{range .Repositories}}| [{{.Name}}]({{.Link}}) | {if .Commits.Count}}:red_square:{{else}}:green_square:{{end}} [{{.Commits.Count}}]({{.Commits.Link}}) | {{if .PullRequests.Count}}:yellow_square:{{else}}:green_square:{{end}} [{{.PullRequests.Count}}]({{.PullRequests.Link}} | {{.LatestRelease.Tag}} | {{range .Environments}} {{if .IsCurrent}}:green_square:{{else}}:red_square:{{end}} {{.Version}} | {{end}} {{end}} {{range .Repositories}}