From c2db75d1caf1e1f7dc565ef3029b2cd611d77df5 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Fri, 25 Jul 2025 16:43:42 +0100 Subject: [PATCH] appview: improve commit log styling - uses grid layout for more controlled column scaling - fixes commit message layout to show "expand" pill inline Signed-off-by: oppiliappan --- appview/pages/templates/repo/log.html | 147 +++++++++++++------------- 1 file changed, 72 insertions(+), 75 deletions(-) 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 }} +
-- 2.51.2