diff --git a/appview/pages/templates/repo/compare/new.html b/appview/pages/templates/repo/compare/new.html index f7d77796..5055aab6 100644 --- a/appview/pages/templates/repo/compare/new.html +++ b/appview/pages/templates/repo/compare/new.html @@ -7,25 +7,24 @@ {{ end }} {{ define "repoAfter" }} -
-
-

- Recently updated branches in this repository: -

- {{ block "recentBranchList" $ }} {{ end }} -
-
-{{ end }} - -{{ define "recentBranchList" }} -
- {{ range $br := take .Branches 5 }} - -
- {{ $br.Name }} - + {{ $brs := take .Branches 5 }} + {{ if $brs }} +
+ - - {{ end }} -
+ + {{ end }} {{ end }}