diff --git a/appview/pages/templates/repo/log.html b/appview/pages/templates/repo/log.html index 27029b3..8957237 100644 --- a/appview/pages/templates/repo/log.html +++ b/appview/pages/templates/repo/log.html @@ -14,84 +14,81 @@ - - - - - - - - - - - - {{ range $index, $commit := .Commits }} - {{ $messageParts := splitN $commit.Message "\n\n" 2 }} - - - - - - - + {{ if index $.TagMap $commit.Hash.String }} + {{ range $tag := index $.TagMap $commit.Hash.String }} + + {{ $tag }} + + {{ end }} {{ end }} - - + + + {{ if gt (len $messageParts) 1 }} + + {{ end }} + +
+ + {{ $pipeline := index $.Pipelines .Hash.String }} + {{ if and $pipeline (gt (len $pipeline.Statuses) 0) }} + {{ template "repo/pipelines/fragments/pipelineSymbolLong" (dict "Pipeline" $pipeline "RepoInfo" $.RepoInfo) }} + {{ end }} +
+
{{ template "repo/fragments/shortTimeAgo" $commit.Committer.When }}
+ + {{ end }} +