- |
- {{ $didOrHandle := index $.EmailToDidOrHandle $commit.Author.Email }}
- {{ if $didOrHandle }}
- {{ template "user/fragments/picHandleLink" $didOrHandle }}
- {{ else }}
- {{ $commit.Author.Name }}
- {{ end }}
- |
-
- {{ $verified := $.VerifiedCommits.IsVerified $commit.Hash.String }}
- {{ $hashStyle := "text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-900" }}
- {{ if $verified }}
- {{ $hashStyle = "bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200 px-2 rounded" }}
- {{ end }}
-
- {{ slice $commit.Hash.String 0 8 }}
- {{ if $verified }}
- {{ i "shield-check" "w-4 h-4" }}
- {{ end }}
-
-
-
- |
-
-
- {{ index $messageParts 0 }}
- {{ if gt (len $messageParts) 1 }}
-
- {{ end }}
+
+ {{ $grid := "grid grid-cols-14 gap-4" }}
+
+ Author
+ Commit
+ Message
+
+ Date
+
+ {{ range $index, $commit := .Commits }}
+ {{ $messageParts := splitN $commit.Message "\n\n" 2 }}
+
+
+ {{ $didOrHandle := index $.EmailToDidOrHandle $commit.Author.Email }}
+ {{ if $didOrHandle }}
+ {{ template "user/fragments/picHandleLink" $didOrHandle }}
+ {{ else }}
+ {{ $commit.Author.Name }}
+ {{ end }}
+
+
+ {{ $verified := $.VerifiedCommits.IsVerified $commit.Hash.String }}
+ {{ $hashStyle := "text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-900" }}
+ {{ if $verified }}
+ {{ $hashStyle = "bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200 px-2 rounded" }}
+ {{ end }}
+
+ {{ slice $commit.Hash.String 0 8 }}
+ {{ if $verified }}
+ {{ i "shield-check" "w-4 h-4" }}
+ {{ end }}
+
+
- {{ if index $.TagMap $commit.Hash.String }}
- {{ range $tag := index $.TagMap $commit.Hash.String }}
-
- {{ $tag }}
-
- {{ end }}
- {{ end }}
-
+
+
+
+ {{ index $messageParts 0 }}
+ {{ if gt (len $messageParts) 1 }}
+
+ {{ end }}
- {{ if gt (len $messageParts) 1 }}
- {{ nl2br (index $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/time" $commit.Committer.When }} |
-
+ {{ if index $.TagMap $commit.Hash.String }}
+ {{ range $tag := index $.TagMap $commit.Hash.String }}
+