diff options
Diffstat (limited to 'web/templates/maintainer/components/changelog.tmpl')
-rw-r--r-- | web/templates/maintainer/components/changelog.tmpl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/web/templates/maintainer/components/changelog.tmpl b/web/templates/maintainer/components/changelog.tmpl index d8fb281..0afacc0 100644 --- a/web/templates/maintainer/components/changelog.tmpl +++ b/web/templates/maintainer/components/changelog.tmpl @@ -1,15 +1,7 @@ {{- define "changelog" -}} <div class="row"> <div class="col-md-9"> - {{- $commits := (index .Packages 0).Commits -}} - {{- range $key, $value := .Packages -}} - {{if ne $key 0}} - {{$commits = appendCommits $commits $value.Commits}} - {{end}} - {{- end -}} - - {{- $commits = sortCommits $commits -}} - + {{- $commits := allCommits .Packages -}} {{- if $commits }} <div class="col-md-12"> <h3>Latest Commits</h3> |