diff --git a/appview/pages/templates/repo/log.html b/appview/pages/templates/repo/log.html index 59cbd109..d6ae3627 100644 --- a/appview/pages/templates/repo/log.html +++ b/appview/pages/templates/repo/log.html @@ -1,9 +1,10 @@ {{ define "title" }}commits · {{ .RepoInfo.FullName }}{{ end }} + {{ define "repoContent" }}
- + @@ -37,20 +38,13 @@ @@ -92,7 +86,6 @@ {{ i "folder-code" "w-4 h-4" }} - @@ -120,9 +113,12 @@ - {{ $commits_len := len .Commits }} -
- {{ if gt .Page 1 }}{{ i "chevron-left" "w-4 h-4" }} previous{{ else }}
{{ end }} - {{ if eq $commits_len 60 }}next {{ i "chevron-right" "w-4 h-4" }}{{ end }} -
+{{ end }} + +{{ define "repoAfter" }} + {{ $commits_len := len .Commits }} +
+ {{ if gt .Page 1 }}{{ i "chevron-left" "w-4 h-4" }} previous{{ else }}
{{ end }} + {{ if eq $commits_len 60 }}next {{ i "chevron-right" "w-4 h-4" }}{{ end }} +
{{ end }}