diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index 817b3561..1bb8bbdd 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -170,13 +170,9 @@ {{ define "commitLog" }}
- -
- {{ i "logs" "w-4 h-4" }} commits -
- +
+ {{ i "logs" "w-4 h-4" }} commits + {{ .TotalCommits }}
@@ -278,13 +274,9 @@ {{ define "branchList" }} {{ if gt (len .BranchesTrunc) 0 }}
- -
- {{ i "git-branch" "w-4 h-4" }} branches -
- +
+ {{ i "git-branch" "w-4 h-4" }} branches + {{ len .Branches }}
{{ range .BranchesTrunc }} @@ -321,13 +313,9 @@ {{ if gt (len .TagsTrunc) 0 }}
diff --git a/appview/pages/templates/repo/log.html b/appview/pages/templates/repo/log.html index 89572377..ae9f9d76 100644 --- a/appview/pages/templates/repo/log.html +++ b/appview/pages/templates/repo/log.html @@ -21,7 +21,7 @@
Commit
Message
-
Date
+
Date
{{ range $index, $commit := .Commits }} {{ $messageParts := splitN $commit.Message "\n\n" 2 }} @@ -85,7 +85,7 @@ {{ template "repo/pipelines/fragments/pipelineSymbolLong" (dict "Pipeline" $pipeline "RepoInfo" $.RepoInfo) }} {{ end }}
-
{{ template "repo/fragments/shortTimeAgo" $commit.Committer.When }}
+
{{ template "repo/fragments/shortTimeAgo" $commit.Committer.When }}
{{ end }}